aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-29 23:03:03 -0700
committerfriendica <info@friendica.com>2012-08-29 23:03:03 -0700
commitf6d198ce5dcd9fe416975ff760439dfacbb83812 (patch)
tree77be24f7ab74dfcd62c2e621eb6f7568a78d8de6 /include/text.php
parentda49a27aa24b6a85b2623134884d933dc04e201b (diff)
downloadvolse-hubzilla-f6d198ce5dcd9fe416975ff760439dfacbb83812.tar.gz
volse-hubzilla-f6d198ce5dcd9fe416975ff760439dfacbb83812.tar.bz2
volse-hubzilla-f6d198ce5dcd9fe416975ff760439dfacbb83812.zip
trim a bit of fat
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 79b4bba39..a1b718d44 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1681,3 +1681,10 @@ function check_webbie($arr) {
return '';
}
+
+function ids_to_querystr($arr,$idx = 'id') {
+ $t = array();
+ foreach($arr as $x)
+ $t[] = $x[$idx];
+ return(implode(',', $t));
+} \ No newline at end of file