]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/Database.php
Add feedback
[friendica.git] / src / Database / Database.php
index a93d4e610bb69f18d48044a9a78a86b35250decb..28283b1c8175d8273d980c0ffe17b021b8074cdc 100644 (file)
@@ -1462,7 +1462,7 @@ class Database
                $row = $this->fetchFirst($sql, $condition);
 
                if (!isset($row['count'])) {
-                       $this->logger->notice('Invalid count.', ['table' => $table, 'expression' => $expression, 'condition' => $condition_string, 'callstack' => System::callstack()]);
+                       $this->logger->notice('Invalid count.', ['table' => $table, 'row' => $row, 'expression' => $expression, 'condition' => $condition_string, 'callstack' => System::callstack()]);
                        return 0;
                } else {
                        return (int)$row['count'];