]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rewrite_functions.php
More fixes for what/action deprecation in modules.php
[mailer.git] / inc / libs / rewrite_functions.php
index e7fa920e68c4d433f8919b0cb8a50ec4f1993fc4..769fb7ad2f5cc8acb989766e59361de01c78c3f0 100644 (file)
@@ -83,7 +83,7 @@ function REWRITE_LINKS ($HTML) {
 
        // Simple from->to replacements
        $REPLACE = array(
-               'search'  => array("u_id", "url", "page", "offset", "mid", "bid", "sub", "home"),
+               'search'  => array("uid", "url", "page", "offset", "mid", "bid", "sub", "home"),
                'replace' => array("u"   , "url", "page", "offset", "m"  , "b"  , "s"  , "h")
        );
 
@@ -96,7 +96,7 @@ function REWRITE_LINKS ($HTML) {
        // Replace all array elements through
        foreach ($REPLACE['search'] as $k => $v) {
                if (eregi("$v=", $test)) {
-                       // Replace &u_id= with /u/
+                       // Replace &uid= with /u/
                        $test = preg_replace("/&".$v."=/i", "/".$REPLACE['replace'][$k]."/", $test);
                } // END - if
        } // END - foreach