]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-extensions.php
Fix for ext-wernis, some rewrites, fixes for array-to-string convertion
[mailer.git] / inc / modules / admin / what-extensions.php
index cd21e9208ed5d91222f58002163b5ec3660829d4..be7cc1d23b573616d76408fa95239a6f9674e89a 100644 (file)
@@ -46,11 +46,16 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR('admin', __FILE__);
 
 // Normally we want the overview of all registered extensions
-$do = "overview";
+$do = 'overview';
 $SEL = 0;
-if (REQUEST_ISSET_POST('sel')) $SEL = countPostSelection();
 
-if (REQUEST_ISSET_GET(('reg_ext'))) {
+// Are some extensions submitted?
+if (REQUEST_ISSET_POST('sel')) {
+       // Then count all
+       $SEL = countPostSelection();
+} // END - if
+
+if (REQUEST_ISSET_GET('reg_ext')) {
        // We are about to register a new extension
        $do = 'register'; $ext_id = bigintval(REQUEST_GET('reg_ext'));
        // The ID comes from task management and it is - of course - *not* the extension's name!