summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-02-27 15:40:35 +0000
committerDries Buytaert <dries@buytaert.net>2005-02-27 15:40:35 +0000
commit39adda168758b3b3d19a3297adcbf7923d1f6931 (patch)
tree81faf844a5fcdb7177c84af75c7aa09461ff9975 /modules/forum/forum.module
parent4d65069f25c10650413de9e1dfab013cb0722c9f (diff)
downloadbrdo-39adda168758b3b3d19a3297adcbf7923d1f6931.tar.gz
brdo-39adda168758b3b3d19a3297adcbf7923d1f6931.tar.bz2
- Patch #17747 by Adrian: more PostgreSQL fixes. Committed part of the patch:
1. Removed a duplicate line from the changes to update.inc. 2. Excluded the session.inc changes: they did not make sense to me. 3. Excluded the search related changes in the node and search module. According to Steven these are not correct.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 456b17d92..983c655a9 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -259,7 +259,7 @@ function _forum_get_vid() {
// Check to see if a forum vocabulary exists
$vid = db_result(db_query("SELECT vid FROM {vocabulary} WHERE module='%s'", 'forum'));
if (!$vid) {
- $vocabulary = taxonomy_save_vocabulary(array('name' => 'Forums', 'multiple' => '0', 'required' => '1', 'hierarchy' => '1', 'relations' => '0', 'module' => 'forum', 'nodes' => array('forum')));
+ $vocabulary = taxonomy_save_vocabulary(array('name' => 'Forums', 'multiple' => 0, 'required' => 1, 'hierarchy' => 1, 'relations' => 0, 'module' => 'forum', 'nodes' => array('forum')));
$vid = $vocabulary['vid'];
}
variable_set('forum_nav_vocabulary', $vid);