소스 검색

add to local

stanley-king 8 년 전
부모
커밋
d48eab69b2
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      helper/history_helper.php
  2. 1 1
      mobile/control/search.php

+ 1 - 0
helper/history_helper.php

@@ -93,6 +93,7 @@ class history_helper
             if($pos > 10) {
                 break;
             }
+            ++$pos;
         }
         return $result;
     }

+ 1 - 1
mobile/control/search.php

@@ -120,7 +120,7 @@ class searchControl extends mobileHomeControl
                         $blocks[] = $block;
                     }
                 }
-                
+
                 $block = special_helper::format_category($result['hots']);
                 if(!empty($block)) {
                     $blocks[] = $block;