This commit is contained in:
joyqi 2013-11-12 10:27:50 +08:00
parent f2f583efa4
commit 008657b5b5
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ class Typecho_Request
if ($params) {
$validated = true;
foreach ($params as $key => $val) {
$validated = empty($val) ? ($val != $this->get($key)) : ($val == $this->get($key));
$validated = empty($val) ? $this->__isset($key) : ($val == $this->get($key));
if (!$validated) {
break;

View File

@ -134,7 +134,7 @@ class Widget_Themes_Edit extends Widget_Abstract_Options implements Widget_Inter
$this->widget('Widget_Notice')->set(_t("外观设置已经保存"), NULL, 'success');
/** 转向原页 */
$this->response->redirect(Typecho_Common::url('themes.php', $this->options->adminUrl));
$this->response->redirect(Typecho_Common::url('options-theme.php', $this->options->adminUrl));
}
/**