projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged changes from main trunk up to 2.2.3
[fa-stable.git]
/
includes
/
data_checks.inc
diff --git
a/includes/data_checks.inc
b/includes/data_checks.inc
index 295a353e1203d2ec1cc484291803d9e8113f7fe7..9589f13c9e60d181db3d8b3abef14017c0690969 100644
(file)
--- a/
includes/data_checks.inc
+++ b/
includes/data_checks.inc
@@
-475,7
+475,7
@@
function check_num($postname, $min=null, $max=null) {
if(!isset($_POST[$postname]))
return 0;
$num = input_num($postname);
- if ($num === false)
+ if ($num === false
|| $num === null
)
return 0;
if (isset($min) && ($num<$min))
return 0;