Skip to content

Commit 5b3ac77

Browse files
fixed bug in $deployment->getCurrentAction when there is no file in trace item
1 parent c85ba15 commit 5b3ac77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ZendServer/DepH/Deployment/Deployment.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ public function getCurrentAction() {
8383
$stack = array_reverse(debug_backtrace(), true);
8484

8585
foreach ($stack as $item) {
86+
if (!isset($item['file'])) {
87+
continue;
88+
}
8689
$filename = basename($item['file']);
8790
if (false !== $key = array_search($filename, $this->actionScriptNames)) {
8891
return $key;

0 commit comments

Comments
 (0)