From 631368c9635e284f22bec184084cb44cc0e6fd3e Mon Sep 17 00:00:00 2001 From: lia Date: Sun, 10 Dec 2006 22:25:25 +0000 Subject: [PATCH] bugfix #3585 : content; empty categories (containers) now also link --- e107_plugins/content/content_shortcodes.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e107_plugins/content/content_shortcodes.php b/e107_plugins/content/content_shortcodes.php index 33575b5eb..075ab9c5c 100644 --- a/e107_plugins/content/content_shortcodes.php +++ b/e107_plugins/content/content_shortcodes.php @@ -378,7 +378,8 @@ SC_END SC_BEGIN CONTENT_CAT_LIST_TABLE_HEADING global $CONTENT_CAT_LIST_TABLE_HEADING, $tp, $row, $totalparent, $tp; -return ($totalparent > 0 ? "".$tp -> toHTML($row['content_heading'], TRUE, "")."" : $tp -> toHTML($row['content_heading'], TRUE, "") ); +//return ($totalparent > 0 ? "".$tp -> toHTML($row['content_heading'], TRUE, "")."" : $tp -> toHTML($row['content_heading'], TRUE, "") ); +return "".$tp -> toHTML($row['content_heading'], TRUE, "").""; SC_END SC_BEGIN CONTENT_CAT_LIST_TABLE_SUMMARY @@ -477,7 +478,8 @@ SC_END SC_BEGIN CONTENT_CAT_LISTSUB_TABLE_HEADING global $CONTENT_CAT_LISTSUB_TABLE_HEADING, $tp, $row, $totalsubcat, $tp; -return ($totalsubcat > 0 ? "".$tp -> toHTML($row['content_heading'], TRUE, "")."" : $tp -> toHTML($row['content_heading'], TRUE, "") ); +//return ($totalsubcat > 0 ? "".$tp -> toHTML($row['content_heading'], TRUE, "")."" : $tp -> toHTML($row['content_heading'], TRUE, "") ); +return "".$tp -> toHTML($row['content_heading'], TRUE, "").""; SC_END SC_BEGIN CONTENT_CAT_LISTSUB_TABLE_AMOUNT