Thanks to visit codestin.com
Credit goes to github.com

Skip to content

illogical condition specified in fax_send#6812

Merged
markjcrane merged 1 commit into
fusionpbx:masterfrom
md-riaz:condition-issue
Oct 19, 2023
Merged

illogical condition specified in fax_send#6812
markjcrane merged 1 commit into
fusionpbx:masterfrom
md-riaz:condition-issue

Conversation

@md-riaz
Copy link
Copy Markdown
Contributor

@md-riaz md-riaz commented Oct 16, 2023

It doesn't make logical sense for !empty($route_array) to also have count($route_array) == 0. In a typical scenario, if an array is not empty, its count should be greater than 0.

The condition !empty($route_array) checks if the array is not empty, meaning it has at least one element, and therefore, count($route_array) should be greater than 0.

@markjcrane
Copy link
Copy Markdown
Contributor

Please sign up as a contributor here.

@markjcrane markjcrane merged commit bca1e75 into fusionpbx:master Oct 19, 2023
goldenpr pushed a commit to goldenpr/fusionpbx that referenced this pull request Sep 9, 2024
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