Correct check against empty value in MD_STD_IN

This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2020-08-22 12:13:08 +02:00
1 parent 566590135b
commit bac86627e2
1 file changed
+1 -1
+1 -1
View File
@@ -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.");
} }