Forráskód Böngészése

Correct some misplaced comments

pdontthink 17 éve
szülő
commit
9b307ad40a
1 módosított fájl, 3 hozzáadás és 2 törlés
  1. 3 2
      functions/url_parser.php

+ 3 - 2
functions/url_parser.php

@@ -133,8 +133,8 @@ function parseUrl (&$body) {
             $target_pos = strlen($check_str) + $start;
         }
 
-        /* If there was a token to replace, replace it */
-        if ($target_token == 'mailto:') {    // rfc 2368 (mailto URL)
+        // rfc 2368 (mailto URL)
+        if ($target_token == 'mailto:') {
             $target_pos += 7;    //skip mailto:
             $end = $blength;
 
@@ -163,6 +163,7 @@ function parseUrl (&$body) {
             }
         }
         else
+        /* If there was a token to replace, replace it */
         if ($target_token != '') {
             /* Find the end of the URL */
             $end = $blength;