Compare commits
2 Commits
4e165ec32d
...
3b2dddbea3
Author | SHA1 | Date |
---|---|---|
osaajani | 3b2dddbea3 | |
osaajani | 490c6499e2 |
|
@ -426,7 +426,7 @@ namespace controllers\publics;
|
|||
$at = (string) $at;
|
||||
$text = (string) $text;
|
||||
|
||||
if (($this->user['settings']['mms'] ?? false) && $mms)
|
||||
if ($mms && !(int)($this->user['settings']['mms'] ?? false))
|
||||
{
|
||||
$return = self::DEFAULT_RETURN;
|
||||
$return['error'] = self::ERROR_CODES['INVALID_PARAMETER'];
|
||||
|
|
Loading…
Reference in New Issue