Commit 3f3799de6c6bda6e5e547a86a2a05918cd28f158
1 parent
a470873b
fix for KTS-1212: warning when editing permissions.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5766 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
0 deletions
plugins/ktcore/KTWorkflowTriggers.inc.php
| ... | ... | @@ -71,6 +71,7 @@ class PermissionGuardTrigger extends KTWorkflowTrigger { |
| 71 | 71 | foreach ($aPermissions as $oPermission) { $aKeyPermissions[$oPermission->getName()] = $oPermission; } |
| 72 | 72 | |
| 73 | 73 | $current_perms = array(); |
| 74 | + $this->aConfig['perms'] = KTUtil::arrayGet($this->aConfig, 'perms', array()); | |
| 74 | 75 | foreach ($this->aConfig['perms'] as $sPermName) { |
| 75 | 76 | $current_perms[$sPermName] = true; |
| 76 | 77 | } | ... | ... |