From 7e18f8e710d3b5af211be0a658d863a00d10bd67 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 16 Aug 2012 13:36:02 +0400 Subject: [PATCH] print_feed_cat_select: fix Uncategorized not recognized as default_id --- include/functions.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 0bb761f5..1700a2e8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2043,7 +2043,14 @@ if (db_num_rows($result) > 0) { print ""; } - print ""; + + if ($default_id == 0) { + $is_selected = "selected=\"1\""; + } else { + $is_selected = ""; + } + + print ""; } print ""; } -- 2.39.5