修复逻辑错误

This commit is contained in:
wlx 2012-06-21 08:33:25 +00:00
parent 8bb732f2d3
commit c2eacdfd13
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ class Admin_DownController extends Zend_Controller_Action
); );
$proftp=new Proftp(); $proftp=new Proftp();
$proftp->db=$this->db; $proftp->db=$this->db;
if ($proftp->createuser($user)) if (!$proftp->createuser($user))
{ {
$user->datacount=0; //force this offline to be true $user->datacount=0; //force this offline to be true
$proftp->createuser($user); $proftp->createuser($user);