diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-14 15:51:21 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-14 15:51:21 +0000 |
commit | 0ad37ad057018eeed7a0734b98bda273f5f30aae (patch) | |
tree | 1cf83e27930cfa447906ebb4a1952f7167c4863e /modules/forum/forum.install | |
parent | 28fb603ae34c22ef10739a4f1f2500125985e51e (diff) | |
download | brdo-0ad37ad057018eeed7a0734b98bda273f5f30aae.tar.gz brdo-0ad37ad057018eeed7a0734b98bda273f5f30aae.tar.bz2 |
#652372 by matason, ksenzee, naxoc, jpmckinney, sun: Don't allow users to add forum topics when no forums exist.
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r-- | modules/forum/forum.install | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install index 5c4957cbb..7e6de833a 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -58,6 +58,7 @@ function forum_enable() { 'entity_type' => 'node', 'label' => $vocabulary->name, 'bundle' => 'forum', + 'required' => TRUE, 'widget' => array( 'type' => 'options_select', ), |