1
1
Fork 0

misc little fixes

This commit is contained in:
Mike Macgirvin 2010-08-16 22:05:04 -07:00
commit 4d34ec85cf
3 changed files with 30 additions and 19 deletions

View file

@ -19,7 +19,9 @@ require_once('include/items.php');
$a->set_baseurl(get_config('system','url'));
$contacts = q("SELECT * FROM `contact` WHERE `dfrn-id` != '' AND `self` = 0 AND `blocked` = 0 AND `readonly` = 0 ORDER BY RAND()");
$contacts = q("SELECT * FROM `contact`
WHERE `dfrn-id` != '' AND `self` = 0 AND `blocked` = 0
AND `readonly` = 0 ORDER BY RAND()");
if(! count($contacts))
killme();