From 684c086ad01a36529bf4f616fb0ed2ff22a89ed7 Mon Sep 17 00:00:00 2001 From: simnandez Date: Fri, 14 Jun 2013 15:37:28 +0200 Subject: [PATCH] Fix: param must be a string --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index ae3a8b08a72..4d6d3140047 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -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=''; }