Fix: param must be a string
This commit is contained in:
parent
bc5fa5972a
commit
684c086ad0
@ -1836,7 +1836,7 @@ else if ($action == 'print_file' AND $user->rights->printipp->read)
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/dolprintipp.class.php';
|
||||
$printer = new dolPrintIPP($db,$conf->global->PRINTIPP_HOST,$conf->global->PRINTIPP_PORT,$user->login,$conf->global->PRINTIPP_USER,$conf->global->PRINTIPP_PASSWORD);
|
||||
$printer->print_file(GETPOST('file',alpha),GETPOST('printer',alpha));
|
||||
$printer->print_file(GETPOST('file','alpha'),GETPOST('printer','alpha'));
|
||||
setEventMessage($langs->trans("FileWasSentToPrinter", GETPOST('file')));
|
||||
$action='';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user