Merge branch 'main' into develop

perm_community_admin
iglocska 2024-06-13 07:20:39 +02:00
commit 799428d55b
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class UsersTable extends AppTable
if (!empty($entity->meta_fields)) { if (!empty($entity->meta_fields)) {
foreach ($entity['meta_fields'] as $metaField) { foreach ($entity['meta_fields'] as $metaField) {
if ($metaField['field'] === $permission_name) { if ($metaField['field'] === $permission_name) {
if (!$entity->new) { if (!$entity->isNew()) {
$conditions = [ $conditions = [
'field' => $permission_name, 'scope' => 'user', 'parent_id' => $entity->id 'field' => $permission_name, 'scope' => 'user', 'parent_id' => $entity->id
]; ];

View File

@ -1,4 +1,4 @@
{ {
"version": "1.19", "version": "1.20",
"application": "Cerebrate" "application": "Cerebrate"
} }