aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-06 12:24:26 -0800
committerzotlabs <mike@macgirvin.com>2017-01-06 12:24:26 -0800
commitba2d0fae0e339e4909a7ee11c8493cdffbc6c392 (patch)
tree7f796cc33c96c68039b034c78c26789cf3d8b75e /include/text.php
parent1ce8168d72b4bcb8a4373a6a6a4428db62a4aa3f (diff)
parent7f9e91f1c78f9df6375a5ae5cb38b09eea02312b (diff)
downloadvolse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.gz
volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.tar.bz2
volse-hubzilla-ba2d0fae0e339e4909a7ee11c8493cdffbc6c392.zip
Merge branch 'dev' into gnusoc
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