From b7163bea5d2c1d27dc0587e3e5bd8603f210b071 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 15 Sep 2012 15:12:43 +0200 Subject: [PATCH] Fix: avoid syntax error --- htdocs/core/ajax/row.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/ajax/row.php b/htdocs/core/ajax/row.php index 72a679ef572..de9e72aad56 100644 --- a/htdocs/core/ajax/row.php +++ b/htdocs/core/ajax/row.php @@ -50,11 +50,11 @@ if ((isset($_POST['roworder']) && ! empty($_POST['roworder'])) && (isset($_POST[ if (! empty($value)) $newroworder[] = $value; } - dol_syslog("AjaxRow roworder=".GETPOST('roworder','alpha',2)." fk_element=".GETPOST('fk_element','int',2), LOG_DEBUG); + dol_syslog("AjaxRow roworder=".GETPOST('roworder','alpha',2)." fk_element=".GETPOST('fk_element','alpha',2), LOG_DEBUG); $row=new GenericObject($db); $row->table_element_line = GETPOST('table_element_line','alpha',2); - $row->fk_element = GETPOST('fk_element','int',2); + $row->fk_element = GETPOST('fk_element','alpha',2); $row->id = GETPOST('element_id','int',2); $result=$row->line_ajaxorder($newroworder); $result=$row->line_order(true);