wrong thing

This commit is contained in:
flash 2016-12-12 20:26:15 +01:00
parent 036d7baf27
commit e0d793a4a3

View file

@ -57,7 +57,7 @@ class Size extends TagBase
if ($size < self::$minSize || $size > self::$maxSize) {
return $matches[0];
}
} elseif (in_array($matches[1], self::$aliases)) {
} elseif (array_key_exists($matches[1], self::$aliases)) {
$size = self::$aliases[$matches[1]];
} else {
return $matches[0];