diff options
author | Andrew Dolgov <[email protected]> | 2008-05-23 11:50:31 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-23 11:50:31 +0100 |
commit | 1a66dd9f8b23a578f66911767910bb427fcccb19 (patch) | |
tree | 7552748f31fb4c37fa55ffcb05ebcfbc3c036036 | |
parent | 352e19418dd06d7997479b34b2f31fa43d2e0804 (diff) |
fix theme changing with non-english translation (closes #209)
-rw-r--r-- | modules/pref-prefs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 64d7cf6af..cf3d3aee2 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -151,7 +151,7 @@ return; - } else if ($subop == __("Change theme")) { + } else if ($subop == "change-theme") { $theme = db_escape_string($_POST["theme"]); @@ -323,7 +323,7 @@ print "</select></td></tr>"; print "</table>"; print "<input type=\"hidden\" name=\"op\" value=\"pref-prefs\">"; - print "<input type=\"hidden\" name=\"subop\" value=\"Change theme\">"; + print "<input type=\"hidden\" name=\"subop\" value=\"change-theme\">"; print "<p><input class=\"button\" type=\"submit\" value=\"".__('Change theme')."\">"; print "</form>"; |