diff options
author | zotlabs <mike@macgirvin.com> | 2017-01-05 14:17:56 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-01-05 14:17:56 -0800 |
commit | 2312302deade5ccc2e65cd58483a4f40a8d4aea4 (patch) | |
tree | a62eccd5420b68aae6c38d3476b1168f4eeeed46 /include | |
parent | dfede520481f94407ef3dd3b9d622cf6c6ab98f1 (diff) | |
download | volse-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')
-rw-r--r-- | include/text.php | 6 |
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 |