зеркало из https://github.com/mozilla/pjs.git
Bug 357677 Crash on enter_bug.cgi
Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=ghendricks r=colin.ogilvie Object->new_from_list() orders the list by LIST_ORDER which have these defaults: LIST_ORDER => NAME_FIELD NAME_FIELD => 'name' but the profiles table has login_name, not name so this object needs to set NAME_FIELD
This commit is contained in:
Родитель
cfd35e7c04
Коммит
8820807891
|
@ -90,6 +90,7 @@ use constant DB_COLUMNS => (
|
|||
);
|
||||
use constant NAME_FIELD => 'login_name';
|
||||
use constant ID_FIELD => 'userid';
|
||||
use constant LIST_ORDER => NAME_FIELD;
|
||||
|
||||
use constant REQUIRED_CREATE_FIELDS => qw(login_name cryptpassword);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче