diff --git a/application/admin/controllers/DownController.php b/application/admin/controllers/DownController.php index 163882af..388b904f 100644 --- a/application/admin/controllers/DownController.php +++ b/application/admin/controllers/DownController.php @@ -387,7 +387,7 @@ class Admin_DownController extends Zend_Controller_Action ); $proftp=new Proftp(); $proftp->db=$this->db; - if ($proftp->createuser($user)) + if (!$proftp->createuser($user)) { $user->datacount=0; //force this offline to be true $proftp->createuser($user);