X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fprinter_class.inc;h=ecc0542fc4e8e731b5118d2a141ea9bf53eff646;hb=19ddc3939071044c8e94b628f1d6a039f50cc493;hp=e2de66576c7ff0c0588add33806f7c3cc66aa529;hpb=f8219593c85e1020093b93972386fd477675504f;p=fa-stable.git diff --git a/reporting/includes/printer_class.inc b/reporting/includes/printer_class.inc index e2de6657..ecc0542f 100644 --- a/reporting/includes/printer_class.inc +++ b/reporting/includes/printer_class.inc @@ -14,7 +14,7 @@ class remote_printer { // // Setting connection parameters // - function remote_printer($queue, $host='', $port=515, $timeout=20){ + function __construct($queue, $host='', $port=515, $timeout=20){ if ($host == '') $host = $_SERVER['REMOTE_ADDR']; // default is user's host $this->host = $host;