diff options
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index a5663fc56..6a2a9e427 100644 --- a/include/text.php +++ b/include/text.php @@ -476,6 +476,15 @@ function unxmlify($s) { return $ret; */ + + if(is_array($s)) { + + // allow to fall through so we ge a PHP error, as the log statement will + // probably get lost in the noise unless we're specifically looking for it. + + btlogger('unxmlify called with array: ' . print_r($s,true), LOGGER_NORMAL, LOG_WARNING); + } + $ret = htmlspecialchars_decode($s, ENT_QUOTES); return $ret; } |