Skip to content

Commit 68d8d28

Browse files
committed
Compare with null, because '0', 0.0 is empty...
1 parent 56f367f commit 68d8d28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Language/Language.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function getLine(string $line, array $args = [])
122122

123123
$output = $this->language[$this->locale][$file][$parsedLine] ?? null;
124124

125-
if (empty($output) && strpos($this->locale, '-'))
125+
if ($output === null && strpos($this->locale, '-'))
126126
{
127127
[$locale] = explode('-', $this->locale, 2);
128128

0 commit comments

Comments
 (0)