diff --git a/etemplate/inc/class.select_widget.inc.php b/etemplate/inc/class.select_widget.inc.php index e6e89e8db7..c4bbad57ef 100644 --- a/etemplate/inc/class.select_widget.inc.php +++ b/etemplate/inc/class.select_widget.inc.php @@ -417,7 +417,14 @@ { $s .= ' <' . lang('Global') . ' ' . lang($this->app_name) . '>'; } - $cell['sel_options'][$cat['id']] = $s; + if ($tmpl->stable) + { + $cell['sel_options'][$cat['id']] = $s; // 0.9.14 only + } + else + { + $cell['sel_options'][$cat['cat_id']] = $s; + } } $cell['no_lang'] = True; break; @@ -505,4 +512,4 @@ } return $info; } - } \ No newline at end of file + }