]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-login.php
Fix for missing array elements
[mailer.git] / inc / modules / guest / what-login.php
index bb5750c03eb82d6291414e354715a7ba548934fb..caa950e645b78557451d185eaf89168301672848 100644 (file)
@@ -19,6 +19,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -106,8 +107,7 @@ $content['message'] = '';
 if (!empty($errorCode)) {
        // @TODO Move this HTML code into a template
        $message = "<tr>
-  <td width=\"10\" class=\"seperator\">&nbsp;</td>
-  <td colspan=\"7\" align=\"center\">
+  <td colspan=\"4\" align=\"center\">
     <span class=\"guest_failed\">";
 
        // Do we have a userid set?
@@ -122,7 +122,6 @@ if (!empty($errorCode)) {
        // Continue with HTML
        $message .= "</span>
   </td>
-  <td width=\"10\" class=\"seperator\">&nbsp;</td>
 </tr>\n";
        $content['message'] = $message;
 } // END - if
@@ -137,7 +136,7 @@ if (isExtensionActive('nickname')) {
 // Was an URL constructed?
 if (!empty($URL)) {
        // URL was constructed
-       if (getTotalFatalErrors() > 0) {
+       if (ifFatalErrorsDetected()) {
                // Handle fatal errors
                runFilterChain('handle_fatal_errors');
        } else {