mirror of
https://github.com/friendica/friendica
synced 2025-04-22 05:50:13 +00:00
Add feedback
This commit is contained in:
parent
fd22906d70
commit
c00da77c67
2 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue