mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13713] Fix base classes for sources
PHPBB3-13713
This commit is contained in:
parent
07130bf077
commit
c6789ad294
2 changed files with 1 additions and 3 deletions
|
@ -149,7 +149,7 @@ abstract class base_group implements source_interface
|
||||||
'type' => 'group',
|
'type' => 'group',
|
||||||
'img' => phpbb_get_group_avatar($groups[$group_id]),
|
'img' => phpbb_get_group_avatar($groups[$group_id]),
|
||||||
],
|
],
|
||||||
'rank' => $group_rank['title'],
|
'rank' => (isset($group_rank['title'])) ? $group_rank['title'] : '',
|
||||||
'priority' => $this->get_priority($groups[$group_id]),
|
'priority' => $this->get_priority($groups[$group_id]),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,7 +120,5 @@ abstract class base_user implements source_interface
|
||||||
'priority' => $this->get_priority($user),
|
'priority' => $this->get_priority($user),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->db->sql_freeresult($result);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue