From 276de474f49100738255e60e63be94529bfaf123 Mon Sep 17 00:00:00 2001 From: Chenjianyu Date: Fri, 4 Aug 2023 15:46:59 +0800 Subject: [PATCH] * fix a condition. --- module/ai/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ai/control.php b/module/ai/control.php index 792af2f326..228f2c4831 100644 --- a/module/ai/control.php +++ b/module/ai/control.php @@ -526,7 +526,7 @@ class ai extends control if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError())); - if(!empty($data->backLocation)) + if(empty($data->backLocation)) { $response = array('result' => 'success', 'message' => $this->lang->saveSuccess, 'closeModal' => true); }