Commit d297fa2e authored by Penny Leach's avatar Penny Leach
Browse files

Exception handling - avoid a warning in php 5.3 by explicitly casting


Signed-off-by: default avatarPenny Leach <penny@mjollnir.org>
parent 1e3207a8
......@@ -336,7 +336,7 @@ function log_build_backtrace($backtrace) {
$args .= 'object(' . get_class($arg) . ')';
break;
case 'resource':
$args .= 'resource(' . strstr($arg, '#') . ')';
$args .= 'resource(' . strstr((string)$arg, '#') . ')';
break;
case 'boolean':
$args .= $arg ? 'true' : 'false';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment