mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix bug with misinterpretation of 0 as an operator code
This commit is contained in:
parent
2d60df2417
commit
f9b6eeb92c
@ -195,7 +195,7 @@ class UserChatController extends AbstractController
|
||||
|
||||
// Get operator info
|
||||
$requested_operator = false;
|
||||
if ($operator_code) {
|
||||
if ($operator_code !== false) {
|
||||
$requested_operator = operator_by_code($operator_code);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user