From a8669f94040391e21073a409136fe91fec48b941 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 30 Aug 2022 14:06:09 +0800 Subject: [PATCH] * Fix bug #27046. --- module/my/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/control.php b/module/my/control.php index 410145f572..fa751be570 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -1246,7 +1246,7 @@ EOF; $this->user->updatePassword($this->app->user->id); if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError())); if(isonlybody()) return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true)); - return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess,locate => $this->createLink('my', 'index'))); + return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->createLink('my', 'index'))); } $this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->changePassword;