Skip to content
Permalink
Browse files

ensure both node() and afterSave() use ->name

  • Loading branch information...
ceeram committed Feb 28, 2011
1 parent e05c6cd commit 8c277b56123239459dcc5f046a2fbea78b0e18d0
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/behaviors/acl.php
@@ -96,7 +96,7 @@ function afterSave(&$model, $created) {
}
$data = array(
'parent_id' => isset($parent[0][$type]['id']) ? $parent[0][$type]['id'] : null,
'model' => $model->alias,
'model' => $model->name,
'foreign_key' => $model->id
);
if (!$created) {

0 comments on commit 8c277b5

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.