Skip to content
Snippets Groups Projects
Commit 27cde0df authored by Tim Steiner's avatar Tim Steiner
Browse files

Fix a bug causing Requsets_StackModel::findForRequests() to throw an exception.

parent 34b8d443
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,9 @@ class Requests_StackModel extends Unl_Model
$stacks = new Unl_Model_Collection(__CLASS__);
foreach ($stackIds as $requestId => $stackId) {
if (!$stackId) {
continue;
}
$stacks[$requestId] = Unl_Model_Registry::getInstance()->get(__CLASS__, $stackId);
}
return $stacks;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment