This commit is contained in:
Julio Cesar Laura Avendaño
2016-03-24 10:38:18 -04:00
parent f78cd1eb62
commit ca4ab6f3cf
2 changed files with 2 additions and 11 deletions

View File

@@ -149,8 +149,8 @@ class Designer extends Controller
if ($user->checkPermission($row['USER_ID'], 'PM_FACTORY') || $proReadOnly == 'true') {
$this->setView('designer/index');
} else {
$this->setVar('accessDenied', G::LoadTranslation('ID_ACCESS_DENIED'));
$this->setView('designer/accessDenied');
G::header('Location: /errors/error403.php');
die();
}
}