issue 160 fixed memberinfo in install script

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9124 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-09-08 08:39:55 +00:00
parent 635321ca12
commit 0185574302
3 changed files with 13 additions and 4 deletions

View file

@ -1570,6 +1570,9 @@
if($args->password && !$password_is_hashed) $args->password = md5($args->password);
elseif(!$args->password) unset($args->password);
if (!$args->user_id) $args->user_id = 't'.$args->member_srl;
if (!$args->user_name) $args->user_name = $args->member_srl
$output = executeQuery('member.insertMember', $args);
if(!$output->toBool()) {
$oDB->rollback();