Ver código fonte

fixed get get params

master
Robin Thoni 9 anos atrás
pai
commit
ef10f747c5
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      utils.php

+ 2
- 2
utils.php Ver arquivo

30
 
30
 
31
 function get_post($key, $is_error = true)
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
 function get_get($key, $is_error = true)
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
 function check_table_field($header, $table, $field)
41
 function check_table_field($header, $table, $field)

Carregando…
Cancelar
Salvar