aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-27 17:17:58 -0700
committerfriendica <info@friendica.com>2012-04-27 17:17:58 -0700
commit26c53580d128d3ebbbc3d6172525b80690a63255 (patch)
tree10069eae269f2530f8964d356907d83c2141fc9d /include/acl_selectors.php
parent0ab6b60a52fc27d8a37917b3b3e25de37c8fd372 (diff)
downloadvolse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.gz
volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.tar.bz2
volse-hubzilla-26c53580d128d3ebbbc3d6172525b80690a63255.zip
implement contact archival
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r--include/acl_selectors.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index a5f5aff53..461ad0c36 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -122,7 +122,7 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
$o .= "<select name=\"{$selname}[]\" id=\"$selclass\" class=\"$selclass\" multiple=\"multiple\" size=\"" . $x['size'] . "$\" $tabindex >\r\n";
$r = q("SELECT `id`, `name`, `url`, `network` FROM `contact`
- WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `notify` != ''
+ WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 AND `notify` != ''
$sql_extra
ORDER BY `name` ASC ",
intval(local_user())
@@ -188,7 +188,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$o .= "<select name=\"{$selname}[]\" id=\"$selclass\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" $tabindex >\r\n";
$r = q("SELECT `id`, `name`, `url`, `network` FROM `contact`
- WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `notify` != ''
+ WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 AND `notify` != ''
$sql_extra
ORDER BY `name` ASC ",
intval(local_user())