From 31825455e77de035e416ad7d3a9dda0d95a26fe0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 12 Oct 2002 20:40:18 +0000 Subject: [PATCH] update for change in class.categories.inc.php, id --> cat_id --- etemplate/inc/class.select_widget.inc.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 + }