]> git.mxchange.org Git - mailer.git/blobdiff - inc/sql-functions.php
Aliasing should be avoided, better we rename the column or/and use direct column...
[mailer.git] / inc / sql-functions.php
index 0d704543960b9cb4c966661ca58f9679e64b3e27..11d737489ebcf97c5da30111bdd1ff7ac26c99a2 100644 (file)
@@ -54,6 +54,7 @@ function isSqlsInitialized () {
 
 // Setter for SQLs array
 function setSqlsArray ($SQLs) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'count()='.count($SQLs));
        $GLOBALS['sqls'] = (array) $SQLs;
 }
 
@@ -115,7 +116,7 @@ function countSqls () {
 
 // Checks wether the SQLs array is filled
 function isSqlsValid () {
-       //* DEBUG: */ print __FUNCTION__.':'.intval(isSqlsInitialized()).'/'.countSqls().'/'.getCurrentExtensionName().'<br />';
+       //* DEBUG: */ debugOutput(__FUNCTION__.':'.intval(isSqlsInitialized()).'/'.countSqls().'/'.getCurrentExtensionName());
        return (
                (
                        isSqlsInitialized()