From 1a66dd9f8b23a578f66911767910bb427fcccb19 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 23 May 2008 11:50:31 +0100 Subject: [PATCH] fix theme changing with non-english translation (closes #209) --- modules/pref-prefs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index 64d7cf6a..cf3d3aee 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 ""; print ""; print ""; - print ""; + print ""; print "

"; print ""; -- 2.39.5