diff options
author | Filipp Lepalaan <filipp@mac.com> | 2010-09-02 14:25:57 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2010-09-02 14:25:57 +0300 |
commit | 3dd1539456b212d2e859c3b9d381378e355f6321 (patch) | |
tree | 368f691c2688634bb8628beb4b86baadc1f9a0bc | |
parent | f9777c989ce04d33288655ea4d1c274bd5b90b5f (diff) | |
download | main-3dd1539456b212d2e859c3b9d381378e355f6321.tar.gz main-3dd1539456b212d2e859c3b9d381378e355f6321.tar.bz2 main-3dd1539456b212d2e859c3b9d381378e355f6321.zip |
fix delete
-rw-r--r-- | MainDb.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -105,7 +105,7 @@ class MainDb // DELETE statements should report number of rows if (preg_match('/^DELETE/i', $sql)) { - return $result->rowCount(); + return $stmt->rowCount(); } // SELECT statements need the query results |