Missing dba::selectFirst in Model\Item
This commit is contained in:
parent
c1c4c32966
commit
9a76a14778
1 changed files with 1 additions and 2 deletions
|
@ -1963,8 +1963,7 @@ EOT;
|
|||
|
||||
public static function deleteThread($itemid, $itemuri = "")
|
||||
{
|
||||
$item = dba::select('thread', ['uid'], ['iid' => $itemid]);
|
||||
|
||||
$item = dba::selectFirst('thread', ['uid'], ['iid' => $itemid]);
|
||||
if (!DBM::is_result($item)) {
|
||||
logger('No thread found for id '.$itemid, LOGGER_DEBUG);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue