修正异常模板的一处bug

This commit is contained in:
yunwuxin
2016-06-14 17:28:02 +08:00
parent 8d08655670
commit 3845e5d77f

View File

@@ -253,8 +253,10 @@
echo htmlentities(json_encode($val, JSON_PRETTY_PRINT)); echo htmlentities(json_encode($val, JSON_PRETTY_PRINT));
} else if(is_bool($val)) { } else if(is_bool($val)) {
echo $val ? 'true' : 'false'; echo $val ? 'true' : 'false';
} else { } else if(is_scalar($val)) {
echo htmlentities($val); echo htmlentities($val);
} else {
echo 'Resource';
} }
?> ?>
</td> </td>