Correct check against empty value in MD_STD_IN
This commit is contained in:
1 parent
566590135b
commit
bac86627e2
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ final public static function sanitize_id_or_zero($input):int {
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($input === null) {
|
if ($input === false) {
|
||||||
throw new MDpageParameterNotNumericException("Value is not numeric.");
|
throw new MDpageParameterNotNumericException("Value is not numeric.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user