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

[4.0] Correct default value for $prefix parameter #19004

Merged
merged 1 commit into from
Dec 6, 2017
Merged

[4.0] Correct default value for $prefix parameter #19004

merged 1 commit into from
Dec 6, 2017

Conversation

joomdonation
Copy link
Contributor

Pull Request for Issue # .

Summary of Changes

The default value for $prefix parameter in getTable method should be Administrator instead of FieldsTable. It helps prevent Joomla from having to execute some unnecessary code (see https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/MVC/Factory/MVCFactory.php#L128 for the logic)

Testing Instructions

Could be merged on code review.

@wilsonge wilsonge merged commit 85cb49e into joomla:4.0-dev Dec 6, 2017
@wilsonge wilsonge added this to the Joomla 4.0 milestone Dec 6, 2017
@joomdonation joomdonation deleted the patch-4 branch December 7, 2017 00:14
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.

None yet

3 participants