- // @TODO Move this HTML code into a template
- $message = "<tr>
- <td width=\"10\" class=\"seperator\"> </td>
- <td colspan=\"7\" align=\"center\">
- <span class=\"guest_failed\">";
-
- // Convert the code to message
- $message .= getMessageFromErrorCode($errorCode);
+ // Do we have a userid set?
+ if (isSessionVariableSet('current_userid')) {
+ // Then prefetch data for this account
+ fetchUserData(getSession('current_userid'));
+ } // END - if