Changeset 1985
- Timestamp:
- Apr 27, 2007, 7:22:17 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r1933 r1985 45 45 } 46 46 47 function register_user($login, $password, $mail_address )47 function register_user($login, $password, $mail_address, $errors = array()) 48 48 { 49 49 global $lang, $conf; 50 50 51 $errors = array();52 51 if ($login == '') 53 52 { -
trunk/register.php
r1908 r1985 5 5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far)8 7 // | file : $Id$ 9 8 // | last update : $Date$ … … 51 50 52 51 $errors = 53 array_merge(54 $errors,55 52 register_user($_POST['login'], 56 53 $_POST['password'], 57 $_POST['mail_address'] )58 );54 $_POST['mail_address'], 55 $errors); 59 56 60 57 if (count($errors) == 0)
Note: See TracChangeset
for help on using the changeset viewer.