X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-extensions.php;h=be7cc1d23b573616d76408fa95239a6f9674e89a;hb=2592ef433edd0c7cbde318e76792a521b6ec155e;hp=cd21e9208ed5d91222f58002163b5ec3660829d4;hpb=5071030af40e69ca4284642f44758964e18f5be8;p=mailer.git 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!