Ver Fonte

fixed edit form - primaryKey

Piotr Labudda há 9 anos atrás
pai
commit
9eb7d6bd99
1 ficheiros alterados com 1 adições e 1 exclusões
  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')