]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/dbqueuemanager.php
And another one has 'Action' as type-hint: onStartShowLocalNavBlock()
[quix0rs-gnu-social.git] / lib / dbqueuemanager.php
index 26e13911eee7f2c6639e27e614b998f34fd5973c..f843d6d9e617286b0b251b55ead91256d3e86fbd 100644 (file)
@@ -44,7 +44,7 @@ class DBQueueManager extends QueueManager
         $qi->created   = common_sql_now();
         $result        = $qi->insert();
 
-        if (!$result) {
+        if ($result === false) {
             common_log_db_error($qi, 'INSERT', __FILE__);
             throw new ServerException('DB error inserting queue item');
         }