Handle the case of an empty field name when adding user profile fields. Fixes bug #11715.
This commit is contained in:
parent
fd153b80e9
commit
fd834a5384
3 changed files with 21 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ sub create {
|
|||
|
||||
# Add the column to the userProfileData table
|
||||
$db->write(
|
||||
"ALTER TABLE userProfileData ADD " . $db->dbh->quote_identifier($fieldName)
|
||||
"ALTER TABLE userProfileData ADD " . $db->dbh->quote_identifier($id)
|
||||
. $dbDataType
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue