joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

OpenSearch fix for: passing null is deprecated

Open Fedik opened this issue 2 years ago • 3 comments

Pull Request for Issue #38427 .

Summary of Changes

Fix PHP 8 deprecation warning: Passing null to parameter ($string) of type string is deprecated

Testing Instructions

Use php 8+, error_reporting maximum Apply patch. Open smart search page. Add ?format=opensearch to URL, and open. Inspect the result.

Actual result BEFORE applying this Pull Request

deprecation warning

Expected result AFTER applying this Pull Request

no deprecation warning

Documentation Changes Required

no

Fedik avatar Aug 10 '22 09:08 Fedik

I have tested this item :white_check_mark: successfully on c3636c1a97b5d5d90f87571f730d0369c0fbd867


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

brianteeman avatar Aug 10 '22 10:08 brianteeman

I have tested this item :white_check_mark: successfully on c3636c1a97b5d5d90f87571f730d0369c0fbd867


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

Quy avatar Aug 10 '22 17:08 Quy

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38431.

Quy avatar Aug 10 '22 17:08 Quy

Thanks!

wilsonge avatar Aug 31 '22 16:08 wilsonge