aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-05 14:17:56 -0800
committerzotlabs <mike@macgirvin.com>2017-01-05 14:17:56 -0800
commit2312302deade5ccc2e65cd58483a4f40a8d4aea4 (patch)
treea62eccd5420b68aae6c38d3476b1168f4eeeed46 /include/text.php
parentdfede520481f94407ef3dd3b9d622cf6c6ab98f1 (diff)
downloadvolse-hubzilla-2312302deade5ccc2e65cd58483a4f40a8d4aea4.tar.gz
volse-hubzilla-2312302deade5ccc2e65cd58483a4f40a8d4aea4.tar.bz2
volse-hubzilla-2312302deade5ccc2e65cd58483a4f40a8d4aea4.zip
setup: check disabled functions more precisely than using a string match
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index c4fafd8ef..fbf6df49e 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3120,3 +3120,9 @@ function cleanup_bbcode($body) {
return $body;
}
+
+// callback for array_walk
+
+function array_trim(&$v,$k) {
+ $v = trim($v);
+} \ No newline at end of file