From 37e0daf21d329337d456972d521a4eda6b3cebf6 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 14 Nov 2005 07:59:06 +0000 Subject: [PATCH] Fixed paths git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1931 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_printerPPDDialog.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/admin/systems/class_printerPPDDialog.inc b/plugins/admin/systems/class_printerPPDDialog.inc index dc359d9fb..8515a1b49 100644 --- a/plugins/admin/systems/class_printerPPDDialog.inc +++ b/plugins/admin/systems/class_printerPPDDialog.inc @@ -30,6 +30,7 @@ class printerPPDDialog extends plugin if(isset($_SESSION['config']->data['MAIN']['PPD_PATH'])){ $this->pathToPPD = $_SESSION['config']->data['MAIN']['PPD_PATH']; + $this->pathToPPD= preg_replace("/\/*$/", "/", $this->pathToPPD); }else{ $this->pathToPPD = ""; } -- 2.30.2