fix : ajaxRecStat on user null for google robot (3)
This commit is contained in:
@@ -188,7 +188,7 @@ class CompanyController extends Controller
|
||||
}
|
||||
|
||||
|
||||
if($this->getUser() == null){
|
||||
if(!$this->getUser() == null){
|
||||
return new JsonResponse(array('code' => "ok", "user" => $this->getUser()->getUsername()));
|
||||
} else{
|
||||
return new JsonResponse(array('code' => "ok"));
|
||||
|
||||
Reference in New Issue
Block a user