Browse Source

fixed empty values in updateItem from TableAcl

Piotr Labudda 9 years ago
parent
commit
2deeb640ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SE/se-lib/TableAcl.php

+ 1 - 1
SE/se-lib/TableAcl.php

@@ -1455,7 +1455,7 @@ class TableAcl {
 			if (!$this->isAllowed($kID, 'W', $itemOld)) {
 				continue;
 			}
-			if (isset($itemPatch[$vFieldName])) {
+			if (array_key_exists($vFieldName, $itemPatch)) {
 				if (!$this->isAllowed($kID, 'R', $itemOld) && '*****' == $itemPatch[$vFieldName]) {
 					// default value for perms 'W' without 'R' is '*****'
 				}