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
|
@ -224,8 +224,9 @@ function item_post(App &$a) {
|
|||
intval($profile_uid),
|
||||
intval($post_id)
|
||||
);
|
||||
if(! count($i))
|
||||
if (! dbm::is_result($i)) {
|
||||
killme();
|
||||
}
|
||||
$orig_post = $i[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue