mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-10 07:22:25 +01:00
1 parent
492c3e3a90
commit
bc1625d940
1 file changed
+1
-1
@@ -198,7 +198,7 @@ function pwg_db_changes()
|
||||
|
||||
function pwg_db_num_rows($result)
|
||||
{
|
||||
return $result->num_rows;
|
||||
return $result->num_rows ?? 0;
|
||||
}
|
||||
|
||||
function pwg_db_fetch_array($result)
|
||||
|
||||
Reference in new issue
Block a user