From 2312302deade5ccc2e65cd58483a4f40a8d4aea4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 5 Jan 2017 14:17:56 -0800 Subject: setup: check disabled functions more precisely than using a string match --- include/text.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3