diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php index 28b7b177860c785b1e7118a3d58c46d30f8e200d..9be65e7261a3695740f0dd656ee9df5b555adf0a 100644 --- a/htdocs/accountancy/bookkeeping/card.php +++ b/htdocs/accountancy/bookkeeping/card.php @@ -37,7 +37,7 @@ $id = GETPOST('id', 'int'); if ($user->societe_id > 0) { accessforbidden(); } -$action = GETPOST('action'); +$action = GETPOST('action','aZ09'); $mode = GETPOST('mode'); $piece_num = GETPOST("piece_num"); diff --git a/htdocs/accountancy/report/result.php b/htdocs/accountancy/report/result.php index 175c99554989dfb6dde8e563adb61eda2942598b..b8335e2d8f7c20f5cb08a4418ff48da7ac7995aa 100644 --- a/htdocs/accountancy/report/result.php +++ b/htdocs/accountancy/report/result.php @@ -36,7 +36,7 @@ $langs->load("accountancy"); $langs->load("compta"); $mesg = ''; -$action = GETPOST('action'); +$action = GETPOST('action','aZ09'); $cat_id = GETPOST('account_category'); $selectcpt = GETPOST('cpt_bk'); $id = GETPOST('id', 'int'); diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index d6089ebdb54811f33d0ef6a34669cfe1af6f5ed5..c33b798c3a9e6e171875fd2391cce8a2c71d4b0b 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -529,7 +529,7 @@ class FormMail extends Form $tmparray[$key]=dol_htmlentities($tmparray[$key], null, 'UTF-8', true); } $withtoselected=GETPOST("receiver"); // Array of selected value - if (empty($withtoselected) && count($tmparray) == 1 && GETPOST('action') == 'presend') + if (empty($withtoselected) && count($tmparray) == 1 && GETPOST('action','aZ09') == 'presend') { $withtoselected = array_keys($tmparray); } diff --git a/htdocs/loan/createschedule.php b/htdocs/loan/createschedule.php index 596cc9fd536865426ee4eed197c75f023ddd67d9..70688461ae9859aee87d613702dfef30ef417be1 100644 --- a/htdocs/loan/createschedule.php +++ b/htdocs/loan/createschedule.php @@ -31,7 +31,7 @@ require_once DOL_DOCUMENT_ROOT.'/loan/class/loanschedule.class.php'; global $user; $loanid = GETPOST('loanid', 'int'); -$action = GETPOST('action'); +$action = GETPOST('action','aZ09'); $object = new Loan($db); $object->fetch($loanid);