Merge branch 'QA_5_0'

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2019-12-17 22:39:13 -03:00
commit 04b72cf560

View File

@ -386,7 +386,7 @@ class Util
// '0' is also empty for php :-(
if (strlen((string) $a_name) > 0 && $a_name !== '*') {
return $quote . str_replace($quote, $escapeChar . $quote, $a_name) . $quote;
return $quote . str_replace($quote, $escapeChar . $quote, (string) $a_name) . $quote;
}
return $a_name;