- Patch #113286 by maynich: added missing t() function.
parent
c64ffddbfa
commit
ce358d8c7a
|
@ -676,7 +676,7 @@ function _forum_get_vid() {
|
||||||
if (!$vid) {
|
if (!$vid) {
|
||||||
// Create the forum vocabulary. Assign the vocabulary a low weight so
|
// Create the forum vocabulary. Assign the vocabulary a low weight so
|
||||||
// it will appear first in forum topic create and edit forms.
|
// 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);
|
taxonomy_save_vocabulary($edit);
|
||||||
$vid = $edit['vid'];
|
$vid = $edit['vid'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue