Skip to content

Commit 9b814c7

Browse files
committed
Merge branch 'hotfix/41'
Close #41
2 parents 564b422 + 89661be commit 9b814c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Listener/ApiProblemListener.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ public function onDispatch(MvcEvent $e)
121121
$app = $e->getApplication();
122122
$services = $app->getServiceManager();
123123
$config = $services->get('Config');
124-
if (!isset($config['zf-api-problem'])) {
125-
return;
126-
}
124+
127125
if (!isset($config['zf-api-problem']['render_error_controllers'])) {
128126
return;
129127
}

0 commit comments

Comments
 (0)