From: hickert Date: Wed, 14 Jul 2010 08:47:40 +0000 (+0000) Subject: Fixed post handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=93ea1124fa84d05c3d07e41b9a74b6feb83c586b;p=gosa.git Fixed post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19007 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc index 2ab5fde8c..61b7b685a 100644 --- a/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc +++ b/gosa-plugins/gofon/gofon/fonreports/class_fonreport.inc @@ -74,7 +74,7 @@ class fonreport extends plugin { $fonfilter= session::get("fonfilter"); if(isset($_POST['EntryPerPage'])){ - $this->range = $_POST['EntryPerPage']; + $this->range = get_post('EntryPerPage'); } if (isset($_GET['start'])){ $this->start= (int)$_GET['start']; @@ -151,7 +151,7 @@ class fonreport extends plugin *****************/ $smarty->assign("plug", "?plug=".validate($_GET['plug'])); - $smarty->assign("search_for", htmlentities($this->search_for)); + $smarty->assign("search_for", set_post($this->search_for)); $smarty->assign("months", $months); $smarty->assign("month_select", $this->month); $smarty->assign("years", $years); @@ -168,8 +168,8 @@ class fonreport extends plugin foreach($this->config->data['SERVERS']['FON'] as $key => $server){ $servers[$server['SERVER']] = $server['SERVER']; } - $smarty->assign("servers", $servers); - $smarty->assign("selected_server", $this->selected_server); + $smarty->assign("servers", set_post($servers)); + $smarty->assign("selected_server", set_post($this->selected_server)); /* Connecting, selecting database */ if (!isset($this->config->data['SERVERS']['FON'][0])){