X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2Fhelpers%2FSyjReset.php;h=807f44bcf65488efe71797738e2405e6abbfd2f8;hb=refs%2Ftags%2Fv0.4.1;hp=15a138ecd974c975f93cbac1770af74ce394767a;hpb=26afcb880ff75743abcb627ecf516b6c51a36d08;p=syj.git 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());