Skip to content
New issue

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

Fix error on draft or new messages #142

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

sumaiyamannan
Copy link
Contributor

@sumaiyamannan sumaiyamannan commented Jan 13, 2025

Hi
This fixes the below error which is thrown in two scenarios:

  1. If the message field is left blank for new messages;
  2. When viewing a draft message.

The error is:
"Exception - Too few arguments to function mod_dialogue_conversation_form::{closure}(), 1 passed in [dirroot]/lib/form/autocomplete.php on line 245 and exactly 3 expected"

Regards,
Sumaiya

@sumaiyamannan sumaiyamannan force-pushed the errorfix branch 2 times, most recently from 2b82b9a to 9fb69f3 Compare January 13, 2025 02:24
@danmarsden danmarsden merged commit 441900d into danmarsden:MOODLE_401_STABLE Jan 19, 2025
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants