Browse Source

fixed get get params

master
Robin Thoni 9 years ago
parent
commit
ef10f747c5
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      utils.php

+ 2
- 2
utils.php View File

@@ -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…
Cancel
Save