X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=9f3a1896fd1f1f37f1d9dfa7cb0ca76a7b674a57;hp=e81f62f2496d6fe7260927dcd692c78eb4b044ce;hb=ca7455674c0f02d34cbfc22a823393ba629a5160;hpb=61b77b466ed51b55406cce2671c6ad3991b350a9 diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index e81f62f249..9f3a1896fd 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -164,17 +164,18 @@ if (!empty($_GET['reg_ext'])) { $ext_name = GET_EXT_NAME($id); $ext_ver = GET_EXT_VERSION($ext_name); - // Free the result - SQL_FREERESULT($result); - if ($_CONFIG['verbose_sql']) { // Load SQL commands in remove mode $EXT_LOAD_MODE = "remove"; + $EXT_ALWAYS_ACTIVE = "N"; $file = sprintf("%sinc/extensions/ext-%s.php", PATH, $ext_name); - include($file); + if (FILE_READABLE($file)) { + // Load file + include($file); - // Generate extra table with loaded SQL commands - $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE($SQLs); + // Generate extra table with loaded SQL commands + $VERBOSE_OUT = EXTENSION_VERBOSE_TABLE($SQLs); + } } // END - if // Prepare data for the row template