X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fprinter_class.inc;h=ecc0542fc4e8e731b5118d2a141ea9bf53eff646;hb=0b44975d1b3c8f3e3fb28d24d8b45b1a6f71d12c;hp=93bf06a8c297ff70ffdd2e75db098868a3c2d97f;hpb=3f3cfa578adbc2b71f4fd9c8d0f5536d26af43d8;p=fa-stable.git diff --git a/reporting/includes/printer_class.inc b/reporting/includes/printer_class.inc index 93bf06a8..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; @@ -111,4 +111,3 @@ class remote_printer { } -?>