From 8f3c8cdd844dc46d991a9b18f3e948afbdf0903c Mon Sep 17 00:00:00 2001 From: danmarsden Date: Wed, 31 May 2006 20:28:18 +0000 Subject: [PATCH] BUG 5662 - bad check for 1.6 version. --- mod/choice/restorelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5