Compare commits

..

No commits in common. "3b2dddbea3bcec6807ed8c35932738566d8ee078" and "4e165ec32df069ebbe5fb373170df010e884553c" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
v3.8.1
v3.8.0

View File

@ -426,7 +426,7 @@ namespace controllers\publics;
$at = (string) $at;
$text = (string) $text;
if ($mms && !(int)($this->user['settings']['mms'] ?? false))
if (($this->user['settings']['mms'] ?? false) && $mms)
{
$return = self::DEFAULT_RETURN;
$return['error'] = self::ERROR_CODES['INVALID_PARAMETER'];