projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for ext-wernis, some rewrites, fixes for array-to-string convertion
[mailer.git]
/
inc
/
modules
/
admin
/
what-extensions.php
diff --git
a/inc/modules/admin/what-extensions.php
b/inc/modules/admin/what-extensions.php
index cd21e9208ed5d91222f58002163b5ec3660829d4..be7cc1d23b573616d76408fa95239a6f9674e89a 100644
(file)
--- 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
ADD_DESCR('admin', __FILE__);
// Normally we want the overview of all registered extensions
-$do =
"overview"
;
+$do =
'overview'
;
$SEL = 0;
$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!
// 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!