From: mattc-catalyst Date: Mon, 20 Aug 2007 22:18:49 +0000 (+0000) Subject: MDL-10919: mod/database - fix SQL error caused by invalid groupid X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=135219ef8aea9ec1524280fe3486b5578caa9110;p=moodle.git MDL-10919: mod/database - fix SQL error caused by invalid groupid --- diff --git a/mod/data/edit.php b/mod/data/edit.php index ff75585594..eb1e791876 100755 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -135,6 +135,7 @@ } else { $groupselect = ""; $groupparam = ""; + $currentgroup = 0; } /// Print the tabs