2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -674,7 +674,7 @@ function template_preprocess_forums(&$variables) {
if(node_access('create',$type)){
// Fetch the "General" name of the content type;
// Push the link with title and url to the array.
$forum_types[$type]=array('title'=>t('Post new @node_type',array('@node_type'=>node_get_types('name',$type))),'href'=>'node/add/'.str_replace('_','-',$type).'/'.$variables[tid]);
$forum_types[$type]=array('title'=>t('Post new @node_type',array('@node_type'=>node_get_types('name',$type))),'href'=>'node/add/'.str_replace('_','-',$type).'/'.$variables['tid']);