From dda6c27278d06a5747767fb2b10ba1b725fa0484 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 9 Nov 2005 10:59:56 +0000 Subject: [PATCH] Removed doubled slash, fixed removement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1890 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printGeneric.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 */ -- 2.30.2