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

User selector is blank by default #3454

Merged
merged 1 commit into from
Apr 16, 2014
Merged

User selector is blank by default #3454

merged 1 commit into from
Apr 16, 2014

Commits on Apr 15, 2014

  1. User selector is blank by default

    User selector displays "Select a User" when you explicitly clear the selection by pressing the button "- No User -", but it is blank by default.
    
    Hot to reproduce the problem: Go to USer > User Notes and create a new note. The User ID field is blank. Click on the blue button in order to select an user. Once arrived on the users list click on "No USer" button. The users list disappears, but this time the USer ID field contains the text "Select a User".
    
    Source file: libraries/cms/form/field/user.php
    Since JText::_('JLIB_FORM_SELECT_USER') is not a valid username, it's clear that the original code wanted to assign JText::_('JLIB_FORM_SELECT_USER') to $table->name instead of $table->username.
    demis-palma committed Apr 15, 2014
    Configuration menu
    Copy the full SHA
    4c28ef1 View commit details
    Browse the repository at this point in the history