소스 검색

fixed empty values in updateItem from TableAcl

Piotr Labudda 9 년 전
부모
커밋
2deeb640ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 '*****'
 				}