question category is not remembered correctly by import and export pages, fixing bug 5348
This commit is contained in:
+2
-2
@@ -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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user