]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load-extension.php
Mailer project continued:
[mailer.git] / inc / loader / load-extension.php
index 2d5fd5b96bb9996ccf7c60da744146ec28d6da5b..746957a8ccc473e9f646bba855c42b3e33ec04e8 100644 (file)
@@ -53,7 +53,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
        // Init extension inc-pool
        $EXT_POOL = array();
 
-       // Do we have entries?
+       // Are there entries?
        if (count($EXT_DUMMY) > 0) {
                // Init arrays
                $EXT_NAMES = array();
@@ -143,7 +143,16 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
        } // END - if
 
        // Query for all extensions
-       $result = SQL_QUERY('SELECT `id` AS `ext_id`,`ext_name`,`ext_active`,`ext_version`' . $add . ' FROM `{?_MYSQL_PREFIX?}_extensions` ORDER BY `ext_name` ASC', __FILE__, __LINE__);
+       $result = SQL_QUERY('SELECT
+       `id` AS `ext_id`,
+       `ext_name`,
+       `ext_active`,
+       `ext_version`
+' . $add . '
+FROM
+       `{?_MYSQL_PREFIX?}_extensions`
+ORDER BY
+       `ext_name` ASC', __FILE__, __LINE__);
 
        // Load all entries
        while ($content = SQL_FETCHARRAY($result)) {