mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Add feedback / revert fix for $item['post-type']
This commit is contained in:
parent
462f76352e
commit
6893e2c3f7
2 changed files with 2 additions and 3 deletions
|
@ -1465,8 +1465,7 @@ class Database
|
|||
$this->logger->notice('Invalid count.', ['table' => $table, 'expression' => $expression, 'condition' => $condition_string, 'callstack' => System::callstack()]);
|
||||
return 0;
|
||||
} else {
|
||||
// Ensure to always return either a "null" or a numeric value
|
||||
return is_numeric($row['count']) ? (int)$row['count'] : $row['count'];
|
||||
return (int)$row['count'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue