From fc69c60cfbf1e87c9cd75212d3be40b4a7347c72 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Jul 2010 10:08:00 +0000 Subject: [PATCH] Updated post handling for printers git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19105 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index e3663950c..ccebb737f 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -385,7 +385,7 @@ class printgeneric extends plugin /* Assign attributes */ foreach ($this->attributes as $attr){ - $smarty->assign("$attr", $this->$attr); + $smarty->assign("$attr", set_post($this->$attr)); } $smarty->assign("base", $this->baseSelector->render()); @@ -564,7 +564,7 @@ class printgeneric extends plugin $smarty->assign("driverInfo", "".sprintf(_("Your currently selected PPD file '%s' doesn't exist."),$path.$this->gotoPrinterPPD).""); }else{ $ppdDesc = $ppdManager->loadDescription($path.$this->gotoPrinterPPD); - $smarty->assign("driverInfo", $ppdDesc['name']); + $smarty->assign("driverInfo", set_post($ppdDesc['name'])); } }else{ $smarty->assign("driverInfo", _("Not defined")); @@ -1134,7 +1134,7 @@ class printgeneric extends plugin function saveCopyDialog() { if(isset($_POST['cn'])){ - $this->cn = $_POST['cn']; + $this->cn = get_post('cn'); } } -- 2.30.2