more bugs
This commit is contained in:
parent
bbe53699f2
commit
6695b4a203
13 changed files with 25 additions and 25 deletions
|
|
@ -36,7 +36,9 @@ function contact_select($selname,$selclass,$preselected = false,$size = 4) {
|
|||
|
||||
$o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n";
|
||||
|
||||
$r = q("SELECT `id`, `name` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 ORDER BY `name` ASC ",
|
||||
$r = q("SELECT `id`, `name` FROM `contact`
|
||||
WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0
|
||||
ORDER BY `name` ASC ",
|
||||
$_SESSION['uid']
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue