|
|
@@ -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;
|