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: Cope with undefined country key in search array. #31354

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

mdeweerd
Copy link
Contributor

Fix: Cope with undefined country key in search array

Fix:

htdocs\partnership\partnership_list.php:533 PhanUndeclaredProperty Reference to undeclared property \Partnership->login
htdocs\partnership\partnership_list.php:793 PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs\core\class\html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)

http://127.0.1.0/partnership/partnership_list.php?idmenu=108562&mainmenu=companies&leftmenu=

image

# Fix: Cope with undefined country key in search array

Fix:
```
htdocs\partnership\partnership_list.php:533 PhanUndeclaredProperty Reference to undeclared property \Partnership->login
htdocs\partnership\partnership_list.php:793 PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs\core\class\html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
```
@mdeweerd mdeweerd changed the title Fix: Cope with undevined country key in search array. Fix: Cope with undefined country key in search array. Oct 10, 2024
@mdeweerd mdeweerd marked this pull request as ready for review October 10, 2024 21:33
@eldy eldy merged commit 9c20e93 into Dolibarr:develop Oct 11, 2024
7 checks passed
@mdeweerd mdeweerd deleted the fix/partnership branch October 12, 2024 00:04
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