X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fdb%2Flib-mysql3.php;h=1a24f3928997617cc2a11b484fa5edf773e9527e;hp=3f26d2ce900bba950f1340c7cb8a50e1a851f4d4;hb=1ae27b893dd19a4992beb49fa904cb2bc18578b3;hpb=603b8e70904e268376814b05a577749e61ea83db diff --git a/inc/db/lib-mysql3.php b/inc/db/lib-mysql3.php index 3f26d2ce90..1a24f39289 100644 --- a/inc/db/lib-mysql3.php +++ b/inc/db/lib-mysql3.php @@ -213,6 +213,11 @@ function SQL_CLOSE(&$link, $F, $L) { } // SQL free result function SQL_FREERESULT($result) { + if (!is_resource($result)) { + // Abort here + return false; + } // END - if + $res = @mysql_free_result($result); return $res; }