mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正异常模板的一处bug
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user