Changeset 5003 for branches/2.0/include/functions.inc.php
- Timestamp:
- Feb 28, 2010, 9:58:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/functions.inc.php
r4965 r5003 1504 1504 * 1505 1505 * @param string param_name 1506 * @param mixed param_value1506 * @param array param_array 1507 1507 * @param boolean is_array 1508 1508 * @param string pattern … … 1510 1510 * @return void 1511 1511 */ 1512 function check_input_parameter($param_name, $param_value, $is_array, $pattern) 1513 { 1512 function check_input_parameter($param_name, $param_array, $is_array, $pattern) 1513 { 1514 $param_value = null; 1515 if (isset($param_array[$param_name])) 1516 { 1517 $param_value = $param_array[$param_name]; 1518 } 1519 1514 1520 // it's ok if the input parameter is null 1515 1521 if (empty($param_value))
Note: See TracChangeset
for help on using the changeset viewer.