mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/13713] Fix base classes for sources
PHPBB3-13713
This commit is contained in:
@@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user