mango r135 - trunk/lib



Author: ovitters
Date: Tue Mar  4 20:24:00 2008
New Revision: 135
URL: http://svn.gnome.org/viewvc/mango?rev=135&view=rev

Log:
Really, really make it work!


Modified:
   trunk/lib/user.php

Modified: trunk/lib/user.php
==============================================================================
--- trunk/lib/user.php	(original)
+++ trunk/lib/user.php	Tue Mar  4 20:24:00 2008
@@ -446,7 +446,7 @@
 	
 	function validate() {
 		$errors = array();
-                if(empty($this->uid) || (!$user->uid_from_ldap
+                if(empty($this->uid) || (!$this->uid_from_ldap
                                          && !preg_match("/^[a-z]{1,12}$/",
                                                         $this->uid))) {
 			$errors[] = "uid";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]