New functions introduced, several rewrites:
[mailer.git] / inc / modules / guest / what-login.php
index 94904e1be4459483357de4321a660e83b2585e9a..0799b79fa3ee1a732d5f318d969d75aee2194561 100644 (file)
@@ -110,6 +110,12 @@ if (!empty($errorCode)) {
   <td colspan=\"7\" align=\"center\">
     <span class=\"guest_failed\">";
 
+       // Do we have a userid set?
+       if (isSessionVariableSet('current_userid')) {
+               // Then prefetch data for this account
+               fetchUserData(getSession('current_userid'));
+       } // END - if
+
        // Convert the code to message
        $message .= getMessageFromErrorCode($errorCode);