소스 검색

fixed get get params

master
Robin Thoni 9 년 전
부모
커밋
ef10f747c5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      utils.php

+ 2
- 2
utils.php 파일 보기

@@ -30,12 +30,12 @@ function get_param($array, $key, $is_error)
30 30
 
31 31
 function get_post($key, $is_error = true)
32 32
 {
33
-  get_param($_POST, $key, $is_error);
33
+  return get_param($_POST, $key, $is_error);
34 34
 }
35 35
 
36 36
 function get_get($key, $is_error = true)
37 37
 {
38
-  get_param($_GET, $key, $is_error);
38
+  return get_param($_GET, $key, $is_error);
39 39
 }
40 40
 
41 41
 function check_table_field($header, $table, $field)

Loading…
취소
저장