This module makes user/password unavailable

Anonymous (not verified) - March 12, 2005 - 10:15
Project:Mass URL
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Small patch to make it ignore some special pages

--- mass_url.module.orig        2005-03-12 11:07:00.000000000 +0100
+++ mass_url.module     2005-03-12 11:07:25.000000000 +0100
@@ -20,7 +20,9 @@
   $items = array();

   if (arg(0) == ('user' || 'blog') && !is_numeric(arg(1))) {
-    $url_isname = arg(1);
+    if ((arg(1) != 'password') && (arg(1) != 'register')) {
+      $url_isname = arg(1);
+    }
   }

  // if ($may_cache) {

 
 

Drupal is a registered trademark of Dries Buytaert.