From 22c08850d70193ddc22abe05f06e841fde8227ca Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Wed, 5 Apr 2006 20:02:37 +0000 Subject: [PATCH] Fixing stupid typos from previous commit --- question/showbank.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/showbank.php b/question/showbank.php index 9af6e255db..6aa27b86db 100644 --- a/question/showbank.php +++ b/question/showbank.php @@ -40,7 +40,7 @@ if (isset($_REQUEST['move']) and confirm_sesskey()) { /// Move selected questions to new category $tocategoryid = required_param('category', PARAM_INT); - if (!$tocategory = get_record('question_categories', 'id', $tocategoryid])) { + if (!$tocategory = get_record('question_categories', 'id', $tocategoryid)) { error('Invalid category'); } if (!isteacheredit($tocategory->course)) { @@ -117,7 +117,7 @@ } if (isset($_REQUEST['cat'])) { /// coming from category selection drop-down menu - $SESSION->questioncat = required_param['cat', PARAM_INT]; + $SESSION->questioncat = required_param('cat', PARAM_INT); $page = 0; $SESSION->questionpage = 0; } -- 2.39.5