mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
Fix some issues with database engines :
- insert into syntax not correct for posgresql or sqlite - add languages table - incorrect function for row count (sqlite) git-svn-id: http://piwigo.org/svn/trunk@5452 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -174,7 +174,7 @@ function pwg_db_changes(PDOStatement $result=null)
|
||||
|
||||
function pwg_db_num_rows(PDOStatement $result)
|
||||
{
|
||||
return $result->columnCount();
|
||||
return $result->rowCount();
|
||||
}
|
||||
|
||||
function pwg_db_fetch_assoc($result)
|
||||
|
||||
Reference in New Issue
Block a user