Skip to content

don't pass null to trim() #157

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

Merged
merged 1 commit into from
Apr 21, 2025
Merged

Conversation

miken32
Copy link
Contributor

@miken32 miken32 commented Apr 2, 2025

Fixes a notice when certain values are null:

PHP Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/admin/modules/core/Components/Outboundrouting.php on line 47

PHP Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/admin/modules/core/Components/Outboundrouting.php on line 47

PHP Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/admin/modules/core/Components/Outboundrouting.php on line 47

PHP Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/admin/modules/core/Components/Outboundrouting.php on line 47

PHP Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/admin/modules/core/Components/Outboundrouting.php on line 47

@kguptasangoma kguptasangoma merged commit 23c1cb0 into FreePBX:release/17.0 Apr 21, 2025
1 check 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