mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Shitpost day
This commit is contained in:
parent
06216eb477
commit
aa5ac03bb4
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function ovkGetQuirk(string $quirk): int
|
||||||
if(!$quirks)
|
if(!$quirks)
|
||||||
$quirks = chandler_parse_yaml(__DIR__ . "/quirks.yml");
|
$quirks = chandler_parse_yaml(__DIR__ . "/quirks.yml");
|
||||||
|
|
||||||
return is_null($v = $quirks[$quirk]) ? (int) $v : 0;
|
return !is_null($v = $quirks[$quirk]) ? (int) $v : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ovk_proc_strtr(string $string, int $length = 0): string
|
function ovk_proc_strtr(string $string, int $length = 0): string
|
||||||
|
|
Loading…
Reference in a new issue