summaryrefslogtreecommitdiffstats
path: root/paste/include
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-12-11 05:56:13 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2009-12-11 05:56:13 +0100
commit078816f030c368267d6636a604a86dedac78e309 (patch)
tree93a93dd386bc141afa093c5cfeedfa9b675522b9 /paste/include
parent8b2b99cc812644d30e1c4d3f96c2eafc7c21738a (diff)
downloadrafb-nopaste-078816f030c368267d6636a604a86dedac78e309.tar.gz
rafb-nopaste-078816f030c368267d6636a604a86dedac78e309.tar.xz
rafb-nopaste-078816f030c368267d6636a604a86dedac78e309.zip
fixed bug if no object
Diffstat (limited to '')
-rw-r--r--paste/include/storage/MysqlStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/include/storage/MysqlStorage.php b/paste/include/storage/MysqlStorage.php
index fa8a9de..4c713bc 100644
--- a/paste/include/storage/MysqlStorage.php
+++ b/paste/include/storage/MysqlStorage.php
@@ -71,7 +71,7 @@ INDEX (nick)
function __destruct()
{
- if ($this->mysql)
+ if (is_instance_of($this->mysql, 'mysqli'))
$this->mysql->close();
}