Permalink
Browse files

BUGFIX Removed canEdit() call that doesn't exist in SecurityAdmin::sa…

…vemember()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.2@73347 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 634f181 commit bbf7445f66512536b2455548576c75675d3df999 @halkyon halkyon committed with sminnee Mar 18, 2009
Showing with 0 additions and 1 deletion.
  1. +0 −1 code/SecurityAdmin.php
View
@@ -197,7 +197,6 @@ function savemember() {
if($id) {
$record = DataObject::get_by_id($className, $id);
- if($record && !$record->canEdit()) return Security::permissionFailure($this);
} else {
$record = new $className();
}

0 comments on commit bbf7445

Please sign in to comment.