improved map restart param parsing

This commit is contained in:
Steffen Schröder
2014-06-23 15:45:40 +02:00
parent e25b352a7a
commit 6aeea15621
3 changed files with 13 additions and 6 deletions

View File

@ -168,8 +168,7 @@ abstract class Formatter {
if (is_string($value)) {
$value = strtolower($value);
}
$bool = filter_var($value, FILTER_VALIDATE_BOOLEAN);
return $bool;
return filter_var($value, FILTER_VALIDATE_BOOLEAN);
}
/**