diff --git a/html/inc/util.inc b/html/inc/util.inc index 4a07099bba..0587d814d1 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -482,7 +482,7 @@ function get_venue($name) { function post_str($name, $optional=false) { $x = $_POST[$name]; - if (!$x && !optional) { + if (!$x && !$optional) { error_page("missing or bad parameter: $name"); } return $x;