]> git.mxchange.org Git - friendica.git/commitdiff
@-completion bug
authorfriendica <info@friendica.com>
Tue, 27 Mar 2012 04:48:04 +0000 (21:48 -0700)
committerfriendica <info@friendica.com>
Tue, 27 Mar 2012 04:48:04 +0000 (21:48 -0700)
mod/acl.php

index 375c618c86dbfe483c9229a347a19db174938ba8..fe353d1eb5af75e191d1f09f57e12afc0217ebdc 100755 (executable)
@@ -7,10 +7,10 @@ function acl_init(&$a){
                return "";
 
 
-       $start = (x($_POST,'start')?$_POST['start']:0);
-       $count = (x($_POST,'count')?$_POST['count']:100);
-       $search = (x($_POST,'search')?$_POST['search']:"");
-       $type = (x($_POST,'type')?$_POST['type']:"");
+       $start = (x($_REQUEST,'start')?$_REQUEST['start']:0);
+       $count = (x($_REQUEST,'count')?$_REQUEST['count']:100);
+       $search = (x($_REQUEST,'search')?$_REQUEST['search']:"");
+       $type = (x($_REQUEST,'type')?$_REQUEST['type']:"");
        
 
        if ($search!=""){
@@ -34,7 +34,7 @@ function acl_init(&$a){
                $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
                                WHERE `uid` = %d AND `self` = 0 
                                AND `blocked` = 0 AND `pending` = 0 
-                               AND `notify` != '' $sql_extra" ,
+                               AND `notify` != '' $sql_extra2" ,
                        intval(local_user())
                );
                $contact_count = (int)$r[0]['c'];