Skip to content

Commit

Permalink
small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoh committed Jun 20, 2011
1 parent 8786ce3 commit ebe99b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/ObjectFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function find($className, \Exception $ex = null)
}
}

if (null !== $obj = $this->scanArgs($trace[$i]['args'])) {
if (isset($trace[$i]['args']) && null !== $obj = $this->scanArgs($trace[$i]['args'])) {
return $obj;
}
}
Expand Down

0 comments on commit ebe99b2

Please sign in to comment.