Fix Utils::printSafe with bool true

(cherry picked from commit 944cceb)
This commit is contained in:
Jeremiah VALERIE 2018-02-01 19:03:59 +08:00 committed by Vladimir Razuvaev
parent 96047246c6
commit 9a8c1b09e3

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\"";