Skip to content

Fix passed by reference warning in PHP 8#10836

Merged
mhcwebdesign merged 1 commit intoopencart:3.0.x.x_Maintenancefrom
ADDCreative:patch-3
May 9, 2022
Merged

Fix passed by reference warning in PHP 8#10836
mhcwebdesign merged 1 commit intoopencart:3.0.x.x_Maintenancefrom
ADDCreative:patch-3

Conversation

@ADDCreative
Copy link
Copy Markdown
Contributor

For #10358.

@mhcwebdesign
Copy link
Copy Markdown
Contributor

Thanks. Have you also tested it with the admin/model/extension/advertise/google.php (see function setAdvertisingBySelect at line 295) ? Just to be sure before the merge.

@ADDCreative
Copy link
Copy Markdown
Contributor Author

Didn't test, but did look the code for setAdvertisingBySelect and setAdvertisingByFilter. Nothing was passed by reference and integer() does not modify the value, so there is no need for integer() to require a reference.

@mhcwebdesign mhcwebdesign merged commit 3a05414 into opencart:3.0.x.x_Maintenance May 9, 2022
@mhcwebdesign
Copy link
Copy Markdown
Contributor

OK, now merged.

@ADDCreative ADDCreative deleted the patch-3 branch May 9, 2022 16:47
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