Fix var not defined
This commit is contained in:
parent
b6a1c92fc0
commit
6015254a77
@ -1002,6 +1002,7 @@ while ($i < min($num, $limit))
|
|||||||
print '<tr class="oddeven"';
|
print '<tr class="oddeven"';
|
||||||
if ($contextpage == 'poslist')
|
if ($contextpage == 'poslist')
|
||||||
{
|
{
|
||||||
|
$place = (GETPOST('place', 'int') > 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 ' onclick="location.href=\'list.php?action=change&contextpage=poslist&idcustomer='.$obj->rowid.'&place='.$place.'\'"';
|
||||||
}
|
}
|
||||||
print '>';
|
print '>';
|
||||||
|
|||||||
@ -32,10 +32,11 @@ require_once DOL_DOCUMENT_ROOT.'/core/triggers/interface_50_modNotification_Noti
|
|||||||
|
|
||||||
$langs->loadLangs(array("companies", "mails", "admin", "other"));
|
$langs->loadLangs(array("companies", "mails", "admin", "other"));
|
||||||
|
|
||||||
$socid = GETPOST("socid", 'int');
|
$socid = GETPOST("socid", 'int');
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
$contactid=GETPOST('contactid'); // May be an int or 'thirdparty'
|
$contactid = GETPOST('contactid'); // May be an int or 'thirdparty'
|
||||||
$actionid=GETPOST('actionid');
|
$actionid = GETPOST('actionid');
|
||||||
|
$optioncss = GETPOST('optioncss', 'aZ'); // Option for the css output (always '' except when 'print')
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user