X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=be7cc1d23b573616d76408fa95239a6f9674e89a;hp=cd21e9208ed5d91222f58002163b5ec3660829d4;hb=2592ef433edd0c7cbde318e76792a521b6ec155e;hpb=1355d2c0b29510dbd407f9cde9f41a5ac02d01fa diff --git a/inc/modules/admin/what-extensions.php b/inc/modules/admin/what-extensions.php index cd21e9208e..be7cc1d23b 100644 --- a/inc/modules/admin/what-extensions.php +++ b/inc/modules/admin/what-extensions.php @@ -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!