From 6015254a77b4f6c55b3ff5429c21a1857f552ed1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 20 Jul 2019 16:15:01 +0200 Subject: [PATCH] Fix var not defined --- htdocs/societe/list.php | 1 + htdocs/societe/notify/card.php | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index c9275293bb2..9ddbed6c9b0 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -1002,6 +1002,7 @@ while ($i < min($num, $limit)) print ' 0 ? GETPOST('place', 'int') : 0); // $place is id of table for Ba or Restaurant print ' onclick="location.href=\'list.php?action=change&contextpage=poslist&idcustomer='.$obj->rowid.'&place='.$place.'\'"'; } print '>'; diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php index 59c43551f41..2c864755bd9 100644 --- a/htdocs/societe/notify/card.php +++ b/htdocs/societe/notify/card.php @@ -32,10 +32,11 @@ require_once DOL_DOCUMENT_ROOT.'/core/triggers/interface_50_modNotification_Noti $langs->loadLangs(array("companies", "mails", "admin", "other")); -$socid = GETPOST("socid", 'int'); -$action = GETPOST('action', 'aZ09'); -$contactid=GETPOST('contactid'); // May be an int or 'thirdparty' -$actionid=GETPOST('actionid'); +$socid = GETPOST("socid", 'int'); +$action = GETPOST('action', 'aZ09'); +$contactid = GETPOST('contactid'); // May be an int or 'thirdparty' +$actionid = GETPOST('actionid'); +$optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print') // Security check if ($user->societe_id) $socid=$user->societe_id;