From 5d4eca5257a60c5f1de043fdf3f67e0a9df011f4 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Wed, 8 Aug 2012 19:52:19 +0200 Subject: many small bug fixes --- boca-1.5.0/src/admin/problem.php | 1 - 1 file changed, 1 deletion(-) (limited to 'boca-1.5.0/src/admin/problem.php') diff --git a/boca-1.5.0/src/admin/problem.php b/boca-1.5.0/src/admin/problem.php index d52c429..0b055b6 100644 --- a/boca-1.5.0/src/admin/problem.php +++ b/boca-1.5.0/src/admin/problem.php @@ -53,7 +53,6 @@ if (isset($_POST["Submit3"]) && isset($_POST["problemnumber"]) && is_numeric($_P $param['fake'] = 'f'; $param['colorname'] = $_POST["colorname"]; $param['color'] = $_POST["color"]; - if($param['color']=='') $param['color']=-1; DBNewProblem ($_SESSION["usertable"]["contestnumber"], $param); } ForceLoad("problem.php"); -- cgit v1.2.3