From 1cec43544127d7e3a8be8fa52aab1aa19743edbe Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 31 Aug 2020 17:18:13 +0800 Subject: [PATCH] * Finish task#7749. --- framework/base/router.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 87efe14d70..80dd51529c 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -840,16 +840,16 @@ class baseRouter } } - /** - * 从Get里取progarm id 设置到session中 - * Set program id into session. - * + /** + * 从Get里取progarm id 设置到session中。 + * Get progarm id from Get and set it to session. + * * @access public * @return void */ public function setProgram() - { - if(isset($_GET['pgm'])) $this->session->set('program', $_GET['pgm']); //Set program into session. + { + if(isset($_GET['pgm'])) $this->session->set('program', $_GET['pgm']); //Set program id into session. } /**