]> git.wh0rd.org Git - tt-rss.git/commitdiff
unbreak user editor (one more time)
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:05:00 +0000 (16:05 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 22 Jan 2009 15:05:00 +0000 (16:05 +0100)
modules/pref-users.php

index cb2f3e03a44245e803f3f72e6a3be34eba3a4796..79e187885fcd819f75bec2fb12011ab19cbe6c50 100644 (file)
 
                        print __('Access level: ') . " ";
 
-                       print_select_hash("access_level", $access_level, $access_level_names, 
-                               $sel_disabled);
+                       if (!$sel_disabled) {
+                               print_select_hash("access_level", $access_level, $access_level_names, 
+                                       $sel_disabled);
+                       } else {
+                               print_select_hash("", $access_level, $access_level_names, 
+                                       $sel_disabled);
+                               print "<input type=\"hidden\" name=\"access_level\" value=\"$access_level\">";
+                       }
 
                        print "<br/>";