浏览代码

fixed bug in TableAjax - literówka

Piotr Labudda 9 年之前
父节点
当前提交
772ca3cf0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SE/se-lib/TableAjax.php

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

@@ -5742,7 +5742,7 @@ jQuery(document).ready(function(){
 		if($DBG){echo'<pre style="max-height:200px;overflow:auto;border:1px solid red;text-align:left;">fld('.$fldName.') (' . __CLASS__ . '::' . __FUNCTION__ . ':' . __LINE__ . '): ';print_r($fldID);echo'</pre>';}
 
 		$item = $this->_acl->getItem($id);
-		if (!$this->_acl->canReadObjectField($fldIName, $item)) {
+		if (!$this->_acl->canReadObjectField($fldName, $item)) {
 			$jsonData->msg = 'Brak dostępu';
 			echo json_encode($jsonData);
 			exit;