lots of help and other misc. fixes.

This commit is contained in:
Matthew Wilson 2005-12-03 20:07:04 +00:00
parent 16da1e3180
commit fc96c0bcfb
16 changed files with 476 additions and 597 deletions

View file

@ -171,8 +171,7 @@ sub setUserPref {
my $sql = "delete from wgFieldUserData where assetId=".quote($fieldId)." and userId=".quote($userId);
WebGUI::SQL->write($sql);
my $sql2 = "insert into wgFieldUserData values (".quote($fieldId).",".quote($userId).",".quote($valueToSet).")";
# WebGUI::ErrorHandler::warn($sql2);
$field->getParent->uncacheOverrides;
$field->getParent->uncacheOverrides if ref $field->getParent eq 'WebGUI::Asset::Shortcut';
return WebGUI::SQL->write($sql2);
}