mirror of
https://github.com/friendica/friendica
synced 2025-04-23 10:30:11 +00:00
converted more to dbm::is_result() + added braces/space
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
0e58bf6675
commit
51716957b2
13 changed files with 61 additions and 41 deletions
|
@ -126,7 +126,7 @@ function queue_run(&$argv, &$argc){
|
|||
$c = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1",
|
||||
intval($qi[0]['cid'])
|
||||
);
|
||||
if(! count($c)) {
|
||||
if (! dbm::is_result($c)) {
|
||||
remove_queue_item($q_item['id']);
|
||||
continue;
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ function queue_run(&$argv, &$argc){
|
|||
FROM `user` WHERE `uid` = %d LIMIT 1",
|
||||
intval($c[0]['uid'])
|
||||
);
|
||||
if(! count($u)) {
|
||||
if (! dbm::is_result($u)) {
|
||||
remove_queue_item($q_item['id']);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue