From: danmarsden Date: Wed, 31 May 2006 20:28:18 +0000 (+0000) Subject: BUG 5662 - bad check for 1.6 version. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8f3c8cdd844dc46d991a9b18f3e948afbdf0903c;p=moodle.git BUG 5662 - bad check for 1.6 version. --- diff --git a/mod/choice/restorelib.php b/mod/choice/restorelib.php index 3aca867a64..83ab0461e7 100644 --- a/mod/choice/restorelib.php +++ b/mod/choice/restorelib.php @@ -60,7 +60,7 @@ //To mantain compatibilty, in 1.4 the publish setting meaning has changed. We //have to modify some things it if the release field isn't present in the backup file. - if (! isset($info['MOD']['#']['SHOWANSWERS']['0']['#'])) { //check for previous versions + if (! isset($info['MOD']['#']['SHOWRESULTS']['0']['#'])) { //check for previous versions if (! isset($info['MOD']['#']['RELEASE']['0']['#'])) { //It's a pre-14 backup filea //Set the allowupdate field if ($choice->publish == 0) {