New default value for AjaxAction->data, new tests

This commit is contained in:
Anton Terekhov
2012-11-11 13:51:38 +04:00
parent 4fa078d709
commit 2aafb3a394
3 changed files with 52 additions and 11 deletions

View File

@ -18,7 +18,7 @@ abstract class AjaxAction extends Action
* Data to output
* @var mixed
*/
public $data = 1;
public $data = false;
/**
* Use json_encode