Don't get the date on ajax request
This commit is contained in:
parent
c7f6359b87
commit
6252fb763e
@ -12,7 +12,7 @@ class Application_Controller_Plugin_DataDate extends Zend_Controller_Plugin_Abst
|
||||
$controller = $request->getControllerName();
|
||||
$action = $request->getActionName();
|
||||
|
||||
if ( $layout->isEnabled() && $controller!='user' )
|
||||
if ( $layout->isEnabled() && !$request->isXmlHttpRequest() && $controller!='user')
|
||||
{
|
||||
$view = $layout->getView();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user