X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjReset.php;h=807f44bcf65488efe71797738e2405e6abbfd2f8;hp=15a138ecd974c975f93cbac1770af74ce394767a;hb=00c2579ade64a20ba2d82e98d3eea5f864864cdb;hpb=26afcb880ff75743abcb627ecf516b6c51a36d08 diff --git a/application/controllers/helpers/SyjReset.php b/application/controllers/helpers/SyjReset.php index 15a138e..807f44b 100644 --- a/application/controllers/helpers/SyjReset.php +++ b/application/controllers/helpers/SyjReset.php @@ -1,11 +1,14 @@ getActionController(); + if (!$controller->view) { + return; + } $controller->view->jslocales = null; $controller->view->headScript()->exchangeArray(array()); $controller->view->headLink()->exchangeArray(array());