#2367 - Composr 10b5: Critical error when using awards block to display award based on usergroup This is a spacer post for a website comment topic. The content this topic relates to: #2367 - Composr 10b5: Critical error when using awards block to display award based on usergroup By Guest posted 3rd Apr 2016, 2:40 PM Do not fill this field in. diff --git a/sources/cns_groups.php b/sources/cns_groups.php index d2a035d..fe717b2 100755 --- a/sources/cns_groups.php +++ b/sources/cns_groups.php @@ -58,6 +58,7 @@ function render_group_box($row, $zone = '_SEARCH', $give_context = true, $guid = $summary = get_translated_text($row['g_name'], $GLOBALS['FORUM_DB']); + require_code('cns_groups2'); $num_members = cns_get_group_members_raw_count($row['id']); $entry_details = do_lang_tempcode('GROUP_NUM_MEMBERS', escape_html(integer_format($num_members))); 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
index d2a035d..fe717b2 100755
--- a/sources/cns_groups.php
+++ b/sources/cns_groups.php
@@ -58,6 +58,7 @@ function render_group_box($row, $zone = '_SEARCH', $give_context = true, $guid =
$summary = get_translated_text($row['g_name'], $GLOBALS['FORUM_DB']);
+ require_code('cns_groups2');
$num_members = cns_get_group_members_raw_count($row['id']);
$entry_details = do_lang_tempcode('GROUP_NUM_MEMBERS', escape_html(integer_format($num_members)));