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 deprecation warning (PHP 8.1+) #39881

Merged
merged 1 commit into from
Feb 17, 2023
Merged

Commits on Feb 17, 2023

  1. Fix deprecation warning (PHP 8.1+)

    Fix deprecation warning with PHP 8.1+
    
    If a replacement string is used, but no 'quicktask' is defined `$params->get('menu-quicktask')` will return `null` which is deprecated in PHP 8.1+.
    
    Deprecated: str_replace(): Passing null to parameter joomla#3 ($subject) of type array|string is deprecated in administrator/components/com_menus/src/Helper/MenusHelper.php on line 894
    janschoenherr authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    5587796 View commit details
    Browse the repository at this point in the history