mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Re-fix quirk config
This commit is contained in:
parent
86b5dab940
commit
06216eb477
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 isset($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