Showing
2 changed files
with
2 additions
and
1 deletions
@@ -79,8 +79,8 @@ class HomeModel | @@ -79,8 +79,8 @@ class HomeModel | ||
79 | 'is_new' => $val['is_new'] == 'Y' ? true : false, | 79 | 'is_new' => $val['is_new'] == 'Y' ? true : false, |
80 | // 'subnav' => array() | 80 | // 'subnav' => array() |
81 | ); | 81 | ); |
82 | + $index_sub = 0; | ||
82 | foreach ($val['sub'] as $sub) { // 二级 | 83 | foreach ($val['sub'] as $sub) { // 二级 |
83 | - $index_sub = 0; | ||
84 | $subnav = array( | 84 | $subnav = array( |
85 | 'name' => $sub['sort_name'], | 85 | 'name' => $sub['sort_name'], |
86 | 'name_en' => $sub['sort_name_en'], | 86 | 'name_en' => $sub['sort_name_en'], |
@@ -205,6 +205,7 @@ class BackController extends WebAction { | @@ -205,6 +205,7 @@ class BackController extends WebAction { | ||
205 | $code = AuthCode::encode ( $str, PassportModel::BACK_FIND_SECRET_KEY ); | 205 | $code = AuthCode::encode ( $str, PassportModel::BACK_FIND_SECRET_KEY ); |
206 | $url = '/passport/back/backcode?code=' . base64_encode ( $code ); | 206 | $url = '/passport/back/backcode?code=' . base64_encode ( $code ); |
207 | $this->redirect ( SITE_MAIN . $url ); | 207 | $this->redirect ( SITE_MAIN . $url ); |
208 | + return true; | ||
208 | } | 209 | } |
209 | } | 210 | } |
210 | //出错直接跳到找回密码页 | 211 | //出错直接跳到找回密码页 |
-
Please register or login to post a comment