Index: branches/RC/themes/default2009/platform/categories/suggest_pending_confirm.tpl
===================================================================
diff -u -r11591 -r11877
--- branches/RC/themes/default2009/platform/categories/suggest_pending_confirm.tpl (.../suggest_pending_confirm.tpl) (revision 11591)
+++ branches/RC/themes/default2009/platform/categories/suggest_pending_confirm.tpl (.../suggest_pending_confirm.tpl) (revision 11877)
@@ -41,7 +41,7 @@
- ">
+ ">
Index: branches/RC/core/units/categories/categories_event_handler.php
===================================================================
diff -u -r11869 -r11877
--- branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11869)
+++ branches/RC/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 11877)
@@ -1132,6 +1132,10 @@
/* @var $object kDBItem */
$object->SetDBField('Status', $new_status);
+
+ if (!$this->Application->IsAdmin()) {
+ $object->SetDBField('IsMenu', 0); // add all suggested categories as non-menu
+ }
}
else {
$event->status = erPERM_FAIL;
Index: branches/RC/themes/default2009/platform/categories/suggest_confirm.tpl
===================================================================
diff -u -r11591 -r11877
--- branches/RC/themes/default2009/platform/categories/suggest_confirm.tpl (.../suggest_confirm.tpl) (revision 11591)
+++ branches/RC/themes/default2009/platform/categories/suggest_confirm.tpl (.../suggest_confirm.tpl) (revision 11877)
@@ -41,7 +41,7 @@
- ">
+ ">