Debug v19
This commit is contained in:
parent
ce1eaa65a5
commit
cb1c3a5bb1
6 changed files with 6 additions and 6 deletions
|
|
@ -47,7 +47,7 @@ $cancel = GETPOST('cancel', 'alpha');
|
|||
$toselect = GETPOST('toselect', 'array');
|
||||
$contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : str_replace('_', '', basename(dirname(__FILE__)).basename(__FILE__, '.php')); // To manage different context of search
|
||||
$backtopage = GETPOST('backtopage', 'alpha');
|
||||
$mode = GETPOST('mode', 'alopha');
|
||||
$mode = GETPOST('mode', 'alpha');
|
||||
|
||||
$sall = GETPOST("sall", "alpha");
|
||||
$filter = GETPOST("filter", 'alpha');
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ if ($action == 'add_payment') {
|
|||
$payment->amounts = $amounts; // Tableau de montant
|
||||
$payment->total = $total;
|
||||
$payment->fk_typepayment = GETPOST("fk_typepayment", 'int');
|
||||
$payment->num_payment = GETPOST("num_payment", 'alphanothtml');
|
||||
$payment->num_payment = GETPOST("num_payment", 'alphanohtml');
|
||||
$payment->note_public = GETPOST("note_public", 'restricthtml');
|
||||
$payment->fk_bank = $accountid;
|
||||
|
||||
|
|
|
|||
|
|
@ -3384,7 +3384,7 @@ function main_area($title = '')
|
|||
}
|
||||
|
||||
// Permit to add user company information on each printed document by setting SHOW_SOCINFO_ON_PRINT
|
||||
if (getDolGlobalString('SHOW_SOCINFO_ON_PRINT') && GETPOST('optioncss', 'aZ09') == 'print' && empty(GETPOST('disable_show_socinfo_on_print', 'az09'))) {
|
||||
if (getDolGlobalString('SHOW_SOCINFO_ON_PRINT') && GETPOST('optioncss', 'aZ09') == 'print' && empty(GETPOST('disable_show_socinfo_on_print', 'aZ09'))) {
|
||||
$parameters = array();
|
||||
$reshook = $hookmanager->executeHooks('showSocinfoOnPrint', $parameters);
|
||||
if (empty($reshook)) {
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ if ($action == 'add' && empty($cancel)) {
|
|||
|
||||
if (GETPOST('saveandnew', 'alpha')) {
|
||||
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
|
||||
header("Location: card.php?action=create&fk_project=" . urlencode($projectid) . "&accountid=" . urlencode($accountid) . '&paymenttype=' . urlencode(GETPOST('paymenttype', 'az09')) . '&datepday=' . GETPOST("datepday", 'int') . '&datepmonth=' . GETPOST("datepmonth", 'int') . '&datepyear=' . GETPOST("datepyear", 'int'));
|
||||
header("Location: card.php?action=create&fk_project=" . urlencode($projectid) . "&accountid=" . urlencode($accountid) . '&paymenttype=' . urlencode(GETPOST('paymenttype', 'aZ09')) . '&datepday=' . GETPOST("datepday", 'int') . '&datepmonth=' . GETPOST("datepmonth", 'int') . '&datepyear=' . GETPOST("datepyear", 'int'));
|
||||
exit;
|
||||
} else {
|
||||
header("Location: " . $_SERVER['PHP_SELF'] . '?id=' . $object->id);
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x'
|
|||
}
|
||||
|
||||
// Customer or supplier selected in drop box
|
||||
$thirdTypeSelect = GETPOST("third_select_id", 'az09');
|
||||
$thirdTypeSelect = GETPOST("third_select_id", 'aZ09');
|
||||
$type_element = GETPOST('type_element') ? GETPOST('type_element') : '';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3660,7 +3660,7 @@ if ($action == 'editcss') {
|
|||
// Clean the php htmlheader file to remove php code and get only html part
|
||||
$robotcontent = preg_replace('/<\?php \/\/ BEGIN PHP[^\?]*END PHP \?>\n*/ims', '', $robotcontent);
|
||||
} else {
|
||||
$robotcontent = GETPOST('WEBSITE_ROBOT', 'nothtml');
|
||||
$robotcontent = GETPOST('WEBSITE_ROBOT', 'nohtml');
|
||||
}
|
||||
if (!trim($robotcontent)) {
|
||||
$robotcontent .= "# Robot file. Generated with ".DOL_APPLICATION_TITLE."\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue