We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c55323 commit a41bbe4Copy full SHA for a41bbe4
ajax/homepage_wizard.php
@@ -38,7 +38,7 @@
38
}
39
40
if ($_REQUEST['wizard'] == 'categories') {
41
- plugin_formcreator_showWizardCategories(plugin_formcreator_replaceHelpdesk());
+ plugin_formcreator_showWizardCategories();
42
} else if ($_REQUEST['wizard'] == 'forms') {
43
if (isset($_REQUEST['categoriesId'])) {
44
$categoriesId = intval($_REQUEST['categoriesId']);
@@ -54,8 +54,8 @@
54
: true;
55
56
57
-function plugin_formcreator_showWizardCategories($helpdesk = true) {
58
- $tree = PluginFormcreatorCategory::getCategoryTree(0, $helpdesk);
+function plugin_formcreator_showWizardCategories() {
+ $tree = PluginFormcreatorCategory::getCategoryTree(0, false);
59
echo json_encode($tree, JSON_UNESCAPED_SLASHES);
60
61
0 commit comments