]> git.mxchange.org Git - mailer.git/blobdiff - mailid.php
It is the value, not entry
[mailer.git] / mailid.php
index dfefdcac9fd38083901954544d36b433273ee54a..162ff01041154bfd18584aef3c1d5abec68ae42f 100644 (file)
@@ -57,9 +57,9 @@ setHttpStatus('404 NOT FOUND');
 redirectOnUninstalledExtension('mailid');
 
 // Init
-$userId = '0';
-$bonusId    = '0';
-$mailId    = '0';
+$userId  = '0';
+$bonusId = '0';
+$mailId  = '0';
 
 // Secure all data
 if (isGetRequestParameterSet('userid'))  $userId  = bigintval(getRequestParameter('userid'));
@@ -130,7 +130,7 @@ if ((isValidUserId($userId)) && (($mailId > 0) || ($bonusId > 0)) && (!ifFatalEr
                                // Status must be CONFIRMED
                                if (getUserData('status') == 'CONFIRMED') {
                                        // Update last activity if not admin
-                                       if (!isAdmin()) {
+                                       if ((!isAdmin()) || (isDebugModeEnabled())) {
                                                // Is not admin, so update last activity
                                                updateLastActivity($userId);
                                        } // END - if