Fix SQL error during postupdate

This commit is contained in:
Michael 2018-05-11 09:20:59 +00:00
parent a2dbf17a3d
commit f9c695e78d
2 changed files with 10 additions and 4 deletions

View file

@ -2047,7 +2047,7 @@ EOT;
$result = dba::update('thread', $fields, ['iid' => $itemid]);
logger("Update thread for item ".$itemid." - guid ".$item["guid"]." - ".(int)$result." ".print_r($item, true), LOGGER_DEBUG);
logger("Update thread for item ".$itemid." - guid ".$item["guid"]." - ".(int)$result, LOGGER_DEBUG);
// Updating a shadow item entry
$items = dba::selectFirst('item', ['id'], ['guid' => $item['guid'], 'uid' => 0]);