mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 00:24:12 +03:00
Fix bug with invalid groups list setup for chat dialogs
This commit is contained in:
parent
1fc048fec9
commit
d4640219a6
@ -261,7 +261,7 @@ function setup_survey($name, $email, $group_id, $info, $referrer)
|
|||||||
*/
|
*/
|
||||||
function prepare_groups_select($group_id)
|
function prepare_groups_select($group_id)
|
||||||
{
|
{
|
||||||
$show_groups = ($group_id == '') ? true : group_has_children($group_id);
|
$show_groups = ($group_id == 0) ? true : group_has_children($group_id);
|
||||||
|
|
||||||
if (!$show_groups) {
|
if (!$show_groups) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user