]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/PostUpdate.php
Ops, syntax errors get unnoticed with a simple editor. :-(
[friendica.git] / src / Database / PostUpdate.php
index 6d744a1ba1a26e1db2102fad690af49bc96212e9..a8a0a1abd743826773c4774b56a6fb413e9e7863 100644 (file)
@@ -133,7 +133,7 @@ class PostUpdate
                }
 
                $max_item_delivery_data = DBA::selectFirst('item-delivery-data', ['iid'], ['queue_count > 0 OR queue_done > 0'], ['order' => ['iid']]);
-               $max_iid = $max_item_delivery_data['iid'];
+               $max_iid = $max_item_delivery_data['iid'] ?? 0;
 
                Logger::info('Start update1297 with max iid: ' . $max_iid);