Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #145 from burzum/develop
Browse files Browse the repository at this point in the history
Refs #144 fixing the undefined var ...
  • Loading branch information
Florian Krämer committed Jun 22, 2014
2 parents 75e2148 + 27abbf1 commit c904791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/Component/PrgComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public function init(Controller $controller) {
}

$model = $this->controller->modelClass;
if (!empty($settings['model'])) {
$model = $settings['model'];
if (!empty($this->_defaults['model'])) {
$model = $this->_defaults['model'];
}

if ($this->controller->presetVars === true) {
Expand Down

0 comments on commit c904791

Please sign in to comment.