Piotr Labudda 9 лет назад
Родитель
Сommit
9eb7d6bd99
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      SE/se-lib/TableAjax.php

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

@@ -4372,7 +4372,7 @@ jQuery(document).ready(function(){
 			.type('json') // header ĺapplication/x-www-form-urlencoded' requires type('form');
 			.send({
 				namespace: '<?= $acl->getNamespace(); ?>',
-				primaryKey: '<?= $record->ID; ?>',
+				primaryKey: '<?= $record['ID']; ?>',
 				form: formData
 			})
 			.set('Accept', 'application/json')