mirror of
https://github.com/typecho/typecho.git
synced 2025-03-25 12:29:43 +01:00
fixed #65
This commit is contained in:
parent
f2f583efa4
commit
008657b5b5
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user