We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a new account and try sending a new message.
You are not allowed to send a message.
You can send a message.
This is because of Config::canCreateConversation() which test if $maxConversations is empty: https://github.com/humhub/mail/blob/master/models/Config.php#L115
Config::canCreateConversation()
$maxConversations
We should distinguish 0 from ''.
0
''
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What steps will reproduce the problem?
Create a new account and try sending a new message.
What is the expected result?
You are not allowed to send a message.
What do you get instead?
You can send a message.
Additional info
This is because of
Config::canCreateConversation()
which test if$maxConversations
is empty:https://github.com/humhub/mail/blob/master/models/Config.php#L115
We should distinguish
0
from''
.The text was updated successfully, but these errors were encountered: