diff options
Diffstat (limited to 'include/dblayer/functions_pdo-sqlite.inc.php')
-rw-r--r-- | include/dblayer/functions_pdo-sqlite.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dblayer/functions_pdo-sqlite.inc.php b/include/dblayer/functions_pdo-sqlite.inc.php index 33a864980..9d58922dc 100644 --- a/include/dblayer/functions_pdo-sqlite.inc.php +++ b/include/dblayer/functions_pdo-sqlite.inc.php @@ -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) |