View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2367 | Composr | awards | public | 2016-04-02 16:57 | 2016-04-03 18:40 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | urgent | Severity | @80@ | ||
Status | resolved | Resolution | fixed | ||
Summary | 2367: Composr 10b5: Critical error when using awards block to display award based on usergroup | ||||
Description | A critical error occurs when you display awards for usergroups on your website, essentially breaking the page it's on. | ||||
Steps To Reproduce | 1. Create an award type for usergroups 2. Assign that award to a usergroup (error does not happen if there are no active awards for this type) 3. Put an award block on a page 4. The page bails out with critical error whenever you view it. | ||||
Additional Information | I don't remember the error at this time because I have my site under failsafe mode at the moment due to this issue breaking the homepage. You may need to disable it to see the problem. https://lovinity.org | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
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))); |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-02 16:57 | PDStig | New Issue | |
2016-04-03 18:40 | Chris Graham | Note Added: 0003516 | |
2016-04-03 18:40 | Chris Graham | Status | Not Assigned => Resolved |
2016-04-03 18:40 | Chris Graham | Resolution | open => fixed |
2016-04-03 18:40 | Chris Graham | Assigned To | => Chris Graham |