View Issue Details

IDProjectCategoryView StatusLast Update
0011785mantisbtcode cleanuppublic2014-02-07 18:24
Reporterobones Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.16Fixed in Version1.2.16 
Summary0011785: Comment for access_compare_level in access_api.php is bogus
Description

Hello,

The comment for access_compare_level is bogus as it mentions the $p_access_level parameter. This one does not exist but its name hints it could have been renamed to $p_user_access_level.
However, this is not the case, it really has been renamed to $p_threshold as can be determined by looking at the code.
It would be nice if the comment actually matched the parameters of the function.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x 8c4e3dfa

2014-01-12 09:41

atrol


Details Diff
Fix 0011785: Comment for access_compare_level in access_api.php is bogus Affected Issues
0011785
mod - core/access_api.php Diff File

MantisBT: master 0f4e2e51

2014-01-12 09:43

atrol


Details Diff
Fix 0011785: Comment for access_compare_level in access_api.php is bogus Affected Issues
0011785
mod - core/access_api.php Diff File