From: hickert Date: Wed, 9 Nov 2005 10:59:56 +0000 (+0000) Subject: Removed doubled slash, fixed removement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dda6c27278d06a5747767fb2b10ba1b725fa0484;p=gosa.git Removed doubled slash, fixed removement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1890 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc index 39a869fd2..4493e0be4 100644 --- a/plugins/admin/systems/class_printGeneric.inc +++ b/plugins/admin/systems/class_printGeneric.inc @@ -519,9 +519,11 @@ class printgeneric extends plugin }else{ $method="http://"; } - - $str = $method.$_SERVER['SERVER_NAME']."/ppd/"; - $this->attrs['gotoPrinterPPD'] = $str.$this->attrs['gotoPrinterPPD']; + + if(!is_array($this->attrs['gotoPrinterPPD'])) { + $str = $method.$_SERVER['SERVER_NAME']."/ppd"; + $this->attrs['gotoPrinterPPD'] = $str.$this->attrs['gotoPrinterPPD']; + } /* Append printer user */