View Issue Details

IDProjectCategoryView StatusLast Update
0000840Composrpointspublic2012-09-21 14:28
ReporterArboAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0000840: 'give points' button shows up when viewing posts in form when privilege 'use points' is turned off..
Descriptiontitle is self descriptive.

To fix this, just need to change the 'if' line in sources\cns_topicview.php , in function cns_render_post_buttons to include the has_specific_permission part at the end of the following as such:

    if ((addon_installed('points')) && (!is_guest()) && (!is_guest($_postdetails['poster'])) && (has_specific_permission($_postdetails['poster'],'use_points')) )


TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2012-09-21 09:42

administrator   ~0000984

Thanks

Issue History

Date Modified Username Field Change