[bugs] [Bug 1232] New - uninitialised value when choosing addressbook without logging in

bugs at bugs.horde.org bugs at bugs.horde.org
Mon May 5 05:54:05 PDT 2003


http://bugs.horde.org/show_bug.cgi?id=1232

*** shadow/1232	Mon May  5 04:54:04 2003
--- shadow/1232.tmp.10660	Mon May  5 04:54:04 2003
***************
*** 0 ****
--- 1,34 ----
+ Bug#: 1232
+ Product: Horde
+ Version: 2.3 Unstable
+ Platform: All Browsers
+ OS/Version: other
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Turba
+ Area: BUILD
+ AssignedTo: chuck at horde.org                            
+ ReportedBy: horde at mavetju.org               
+ URL: 
+ Summary: uninitialised value when choosing addressbook without logging in
+ 
+ If you don't login, but still click on the addressbook, you get an error
+ regarding an uninitialised value at line 229 somewhere:
+ 
+ /**
+  * A personal adressbook. This assumes that the login is
+  * <username>@domain.com and that the users are stored on the same
+  * ldap server. Thus it is possible to bind with the username and
+  * password from the user. For more info; please refer to the
+  * docs/LDAP file in the Turba distribution.
+  */
+         
+ // First we need to get the uid.
+ $uid = Auth::getAuth();
+ preg_match('/(^.*)@/', $uid, $uid);
+ $uid = $uid[1];                                   <------ that one
+ $basedn = 'dc=example, dc=com';
+ 
+ 


More information about the bugs mailing list