fixed #65
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user