소스 검색

fixed edit form - primaryKey

Piotr Labudda 9 년 전
부모
커밋
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')