]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
PHPMailer updated to 2.0.3
[mailer.git] / inc / mysql-manager.php
index f4f85cbc21b50ff8302ae2ea94d265d153e952fa..8367de207ee120c3e045c1f588aa32abefb2c7b1 100644 (file)
@@ -2122,6 +2122,11 @@ function SET_SQLS ($SQLs) {
        $GLOBALS['sqls'] = (array) $SQLs;
 }
 
+// Remover for SQLs array
+function UNSET_SQLS () {
+       unset($GLOBALS['sqls']);
+}
+
 // Getter for SQLs array
 function GET_SQLS () {
        return $GLOBALS['sqls'];
@@ -2156,8 +2161,7 @@ function COUNT_SQLS () {
 function IS_SQLS_VALID () {
        return (
                (IS_SQLS_INITIALIZED()) &&
-               (COUNT_SQLS() > 0) &&
-               (!empty($GLOBALS['sqls'][0]))
+               (COUNT_SQLS() > 0)
        );
 }