diff options
author | friendica <info@friendica.com> | 2012-03-26 21:48:04 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-26 21:48:04 -0700 |
commit | daa036e34c6db5db34fa2f45235ffbdc0f03a252 (patch) | |
tree | ee48bbc5adbf3a91d4303e7f2ee261b21ed9c5c3 /mod/acl.php | |
parent | 5275b5d04967c1c5f84f25ca6b7db4e1aef2bacf (diff) | |
download | volse-hubzilla-daa036e34c6db5db34fa2f45235ffbdc0f03a252.tar.gz volse-hubzilla-daa036e34c6db5db34fa2f45235ffbdc0f03a252.tar.bz2 volse-hubzilla-daa036e34c6db5db34fa2f45235ffbdc0f03a252.zip |
@-completion bug
Diffstat (limited to 'mod/acl.php')
-rwxr-xr-x | mod/acl.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/acl.php b/mod/acl.php index 375c618c8..fe353d1eb 100755 --- a/mod/acl.php +++ b/mod/acl.php @@ -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']; |