--- a/fhiiqm/form/gefahr_ap_search_form.inc.php Thu Jul 12 13:29:11 2012 +0200
+++ b/fhiiqm/form/gefahr_ap_search_form.inc.php Thu Aug 23 10:17:50 2012 +0200
@@ -148,8 +148,8 @@
echo "$i. <select name='rag[sort$i]'>\n";
foreach ($sort as $key=>$val)
{
- $rsort = $sort . $i;
- if ($rag[$rsort] == $i) $select= " selected"; else $select = "";
+ $rsort = "sort" . $i;
+ if ($rag[$rsort] == $val) $select= " selected"; else $select = "";
echo "<option$select value='$key'>$val</option>\n";
}
echo "</select> \n";