Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit b6affdb

Browse files
authored
Merge pull request #1992 from a3020/patch-2
Prevent ArgumentCountError error
2 parents 6caa98c + 6ce27f8 commit b6affdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/concrete/core/models/permission/access/categories/custom/edit_page_properties.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function duplicate($newPA = false) {
2727
}
2828

2929
public function save($args) {
30-
parent::save();
30+
parent::save($args);
3131
$db = Loader::db();
3232
$db->Execute('delete from PagePermissionPropertyAccessList where paID = ?', array($this->getPermissionAccessID()));
3333
$db->Execute('delete from PagePermissionPropertyAttributeAccessListCustom where paID = ?', array($this->getPermissionAccessID()));
@@ -143,4 +143,4 @@ public function getAccessListItems($accessType = PagePermissionKey::ACCESS_TYPE_
143143
return $list;
144144
}
145145

146-
}
146+
}

0 commit comments

Comments
 (0)