[Kolab-devel] server/kolab/kolab/admin/user create_user.php,1.9.2.2,1.9.2.3 by martin at doto.intevation.de

root at intevation.de root at intevation.de
Fri Aug 1 00:46:18 CEST 2003


Update of /kolabrepository/server/kolab/kolab/admin/user
In directory doto:/tmp/cvs-serv16965/kolab/admin/user

Modified Files:
      Tag: KOLAB_1_0
	create_user.php 
Log Message:
Martin K.: Fixed syntax error (is_unique requires two arguments)


Index: create_user.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/create_user.php,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -d -r1.9.2.2 -r1.9.2.3
--- create_user.php	6 Jun 2003 01:02:07 -0000	1.9.2.2
+++ create_user.php	31 Jul 2003 22:46:15 -0000	1.9.2.3
@@ -291,7 +291,7 @@
                }
             }
 
-            if (!empty($HTTP_GET_VARS['mail_0']) && !is_unique($HTTP_GET_VARS['mail_0'])) {
+            if (!empty($HTTP_GET_VARS['mail_0']) && is_unique('mail',$HTTP_GET_VARS['mail_0'])) {
                $ldap_object['mail'] = trim(strtolower(urldecode($HTTP_GET_VARS['mail_0'])));
 	       if ($action == "firstsave") $ldap_object['uid'] = $ldap_object['mail']; 
             } else {





More information about the devel mailing list