Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrien committed Sep 20, 2013
1 parent 183a827 commit 8c2ed89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Behavior/ToggleableBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function setup(Model $Model, $config = array()) {
$this->settings[$Model->alias] = $settings;

if (empty($this->settings[$Model->alias]['fields'])) {
throw InvalidArgumentException(__d('utils', 'You need to define at least one field to be toggleable.'), E_USER_ERROR);
throw new InvalidArgumentException(__d('utils', 'You need to define at least one field to be toggleable.'), E_USER_ERROR);
}
}

Expand Down

0 comments on commit 8c2ed89

Please sign in to comment.