Fix Utils::printSafe with bool true

This commit is contained in:
Jeremiah VALERIE 2018-02-01 12:03:59 +01:00
parent ccecc3ce1b
commit 944ccebc08
No known key found for this signature in database
GPG Key ID: 42F7707058FDC3D2

View File

@ -336,7 +336,7 @@ class Utils
return 'false'; return 'false';
} }
if (true === $var) { if (true === $var) {
return 'false'; return 'true';
} }
if (is_string($var)) { if (is_string($var)) {
return "\"$var\""; return "\"$var\"";