diff options
author | Aleksander Machniak <machniak@kolabsys.com> | 2014-09-04 16:55:20 (GMT) |
---|---|---|
committer | Aleksander Machniak <machniak@kolabsys.com> | 2014-09-04 16:55:20 (GMT) |
commit | d10faf6e13c4aab377196f82ce63d6dca4427951 (patch) | |
tree | 5d7d87f42d4aedaa0a44163cf82a54bb3b76c237 | |
parent | 27fb7121bd463a86d244a0d9221f1026433e16a1 (diff) | |
download | kolab-wap-d10faf6e13c4aab377196f82ce63d6dca4427951.tar.gz |
Fix PHP warning when deleting object type
-rw-r--r-- | lib/SQL.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SQL.php b/lib/SQL.php index d4fc59c..d568200 100644 --- a/lib/SQL.php +++ b/lib/SQL.php @@ -291,7 +291,7 @@ class SQL return false; } - public function affected_rows($result) + public function affected_rows($result = null) { if ($result || ($result === null && ($result = $this->last_result))) { return $result->rowCount(); |