- Patch #113286 by maynich: added missing t() function.

6.x
Dries Buytaert 2007-02-01 21:44:36 +00:00
parent c64ffddbfa
commit ce358d8c7a
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ function _forum_get_vid() {
if (!$vid) {
// Create the forum vocabulary. Assign the vocabulary a low weight so
// it will appear first in forum topic create and edit forms.
$edit = array('name' => 'Forums', 'multiple' => 0, 'required' => 1, 'hierarchy' => 1, 'relations' => 0, 'module' => 'forum', 'weight' => -10, 'nodes' => array('forum' => 1));
$edit = array('name' => t('Forums'), 'multiple' => 0, 'required' => 1, 'hierarchy' => 1, 'relations' => 0, 'module' => 'forum', 'weight' => -10, 'nodes' => array('forum' => 1));
taxonomy_save_vocabulary($edit);
$vid = $edit['vid'];
}