]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Changed important SERVER_URL which now points to the right URL
[mailer.git] / inc / template-functions.php
index aff7a024c3568b76ef1b0206dedcd605f1129095..597c5be9303f8e56b1b58dbb370208e7db1fc2be 100644 (file)
@@ -1231,7 +1231,9 @@ function handleCodeMessage () {
                $ext = 'unknown';
 
                // Is extension given?
                $ext = 'unknown';
 
                // Is extension given?
-               if (isGetRequestParameterSet('ext')) $ext = getRequestParameter('ext');
+               if (isGetRequestParameterSet('ext')) {
+                       $ext = getRequestParameter('ext');
+               } // END - if
 
                // Convert the 'code' parameter from URL to a human-readable message
                $message = getMessageFromErrorCode(getRequestParameter('code'));
 
                // Convert the 'code' parameter from URL to a human-readable message
                $message = getMessageFromErrorCode(getRequestParameter('code'));
@@ -1341,7 +1343,7 @@ function linenumberCode ($code)    {
                if ($count_lines == 1) {
                        $r .= 1;
                } else {
                if ($count_lines == 1) {
                        $r .= 1;
                } else {
-                       $r .= ($line == ($count_lines - 1)) ? '' :  ($line+1);
+                       $r .= ($line == ($count_lines - 1)) ? '' : ($line+1);
                }
                $r .= '</span>|';
 
                }
                $r .= '</span>|';