profile field and dashbaord fixes

This commit is contained in:
Graham Knop 2007-10-25 06:07:26 +00:00
parent 3955b11149
commit 93b64fc46f
4 changed files with 10 additions and 2 deletions

View file

@ -149,7 +149,7 @@ sub delete {
my $db = $self->session->db;
# Remove the column from the userProfileData table
$db->write("ALTER TABLE userProfileData DROP " . $self->getId);
$db->write("ALTER TABLE userProfileData DROP " . $db->dbh->quote_identifier($self->getId));
# Remove the record
$db->deleteRow("userProfileField","fieldName",$self->getId);