修复逻辑错误
This commit is contained in:
parent
8bb732f2d3
commit
c2eacdfd13
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue