diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-12-11 05:56:13 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-12-11 05:56:13 +0100 |
commit | 078816f030c368267d6636a604a86dedac78e309 (patch) | |
tree | 93a93dd386bc141afa093c5cfeedfa9b675522b9 /paste/include | |
parent | 8b2b99cc812644d30e1c4d3f96c2eafc7c21738a (diff) | |
download | rafb-nopaste-078816f030c368267d6636a604a86dedac78e309.tar.gz rafb-nopaste-078816f030c368267d6636a604a86dedac78e309.tar.xz rafb-nopaste-078816f030c368267d6636a604a86dedac78e309.zip |
fixed bug if no object
Diffstat (limited to 'paste/include')
-rw-r--r-- | paste/include/storage/MysqlStorage.php | 2 |
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(); } |