Skip to content

Commit

Permalink
Fixed an E_DEPRECATED error
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Jan 10, 2022
1 parent 2146043 commit 87c31b9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions public_html/admin/group.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,12 @@ function removeIndirectFeatures($grp_id, array $features)
* code closely if you need to modify this function. Also right is synonymous
* with feature.
*
* @param mixed $grp_id ID to print rights for
* @param boolean $core indicates if group is a core Geeklog group
* @return string HTML for rights
* @param mixed $grp_id ID to print rights for
* @param boolean $core indicates if group is a core Geeklog group
* @param Template $group_templates Template instance
* @return string HTML for rights
*/
function printrights($grp_id = '', $core = 0, &$group_templates)
function printrights($grp_id = '', $core = 0, Template $group_templates = null)
{
global $_TABLES, $_USER, $LANG_ACCESS, $_GROUP_VERBOSE;

Expand Down

0 comments on commit 87c31b9

Please sign in to comment.