question category is not remembered correctly by import and export pages, fixing bug 5348

This commit is contained in:
gustav_delius
2006-04-27 06:42:10 +00:00
parent 7396321249
commit dc454ef428
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
if (!$categoryid) { // need to get category from modform
$showcatmenu = true; // will ensure that user can choose category
if (isset($SESSION->modform)) {
$categoryid = $SESSION->modform->category;
if (isset($SESSION->questioncat)) {
$categoryid = $SESSION->questioncat;
}
}
+2 -2
View File
@@ -53,8 +53,8 @@
if (!$categoryid) { // try to get category from modform
$showcatmenu = true; // will ensure that user can choose category
if (isset($SESSION->modform)) {
$categoryid = $SESSION->modform->category;
if (isset($SESSION->questioncat)) {
$categoryid = $SESSION->questioncat;
}
}