mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Change return type to empty string on bad incoming value
This commit is contained in:
parent
f28659a025
commit
4f3d0a57f9
@ -77,7 +77,7 @@ function group_by_name($name)
|
||||
function get_group_name($group)
|
||||
{
|
||||
if (!is_array($group)) {
|
||||
return null;
|
||||
return '';
|
||||
}
|
||||
|
||||
$use_local_name = (get_home_locale() == get_current_locale())
|
||||
|
Loading…
Reference in New Issue
Block a user