From f887b86e547640f29884fc737ed0d3506e0e8d0a Mon Sep 17 00:00:00 2001 From: Vadimon Date: Thu, 10 Jun 2010 01:35:15 +0700 Subject: [PATCH] Fixed error in restoring questions in upper categories --- question/restorelib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/question/restorelib.php b/question/restorelib.php index a679c04..ca8d940 100644 --- a/question/restorelib.php +++ b/question/restorelib.php @@ -115,7 +115,7 @@ if ($nextcatid == 0){ break; } - $catid == $nextcatid; + $catid = $nextcatid; $catno--; } $tocontext = get_context_instance(CONTEXT_COURSECAT, $catid); -- 1.6.5.1.1367.gcd48