FMCorz / AclManager

Plugin to manage Acl for CakePHP 2.x
59 stars 33 forks source link

Aro Model id #5

Closed kemkle closed 12 years ago

kemkle commented 12 years ago

AclManager/Controller/AclController.php line 136

$aroId = $aro[$Aro->alias]['id'];

I think it should be

$aroId = $aro[$Aro->alias][$Aro->primaryKey];

for those aro models which do not use id as primary key

FMCorz commented 12 years ago

This has been added in the last stable. Thanks for your report!