Empty id in list #193

Open
wants to merge 1 commit into
from

1 participant

@Cosmologist

You should trim $_POST['user_invitees'] with space character too, because you add space character to $_POST['user_invitees'] in line 270, 276, 280. If you didn't trim space charcter - $userInvitess list of id will contain empty id (space character). Then when you add relationship for this empty id in line 436, this may cause error in Link2:add method (data/Link2.php:483)

@Cosmologist Cosmologist Update CallFormBase.php
You should trim $_POST['user_invitees'] with space character too, because you add space character to $_POST['user_invitees'] in line 270, 276, 280. If you didn't trim space charcter - $userInvitess list of id will contain empty id (space character). Then when you add relationship for this empty id in line 436, this may cause error in Link2:add method (data/Link2.php:483)
6943fce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment