* adjust for control send fail.
This commit is contained in:
@@ -752,7 +752,7 @@ class baseControl
|
||||
if($type != 'json') die();
|
||||
|
||||
$data = (array) $data;
|
||||
if(helper::isAjaxRequest()) print(json_encode($data)) && die(helper::removeUTF8Bom(ob_get_clean()));
|
||||
if(helper::isAjaxRequest()) print(json_encode($data)) and die(helper::removeUTF8Bom(ob_get_clean()));
|
||||
|
||||
/**
|
||||
* 响应非ajax的请求。
|
||||
|
||||
Reference in New Issue
Block a user