From f6d198ce5dcd9fe416975ff760439dfacbb83812 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 Aug 2012 23:03:03 -0700 Subject: trim a bit of fat --- include/text.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/text.php') 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 -- cgit v1.2.3