|
From: <var...@us...> - 2021-09-03 10:12:31
|
Revision: 10533
http://sourceforge.net/p/phpwiki/code/10533
Author: vargenau
Date: 2021-09-03 10:12:29 +0000 (Fri, 03 Sep 2021)
Log Message:
-----------
PDO: better test $this->_result
Modified Paths:
--------------
trunk/lib/WikiDB/backend/PDO.php
Modified: trunk/lib/WikiDB/backend/PDO.php
===================================================================
--- trunk/lib/WikiDB/backend/PDO.php 2021-09-03 08:40:08 UTC (rev 10532)
+++ trunk/lib/WikiDB/backend/PDO.php 2021-09-03 10:12:29 UTC (rev 10533)
@@ -1391,7 +1391,7 @@
function free()
{
- if ($this->_result) {
+ if (isset($this->_result)) {
unset($this->_result);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|