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

@ -7,6 +7,7 @@
- fix: Workflow activities don't pick up new default values
- safely allow sorting by more fields in collaboration systems
- fix: iCal link on calendar doesn't work
- fix: error when deleting profile fields with non-alphanumeric names
- add: Friends Network
7.4.10

View file

@ -7,6 +7,13 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
7.5.0
--------------------------------------------------------------------
* The 7.4.8 upgrade script had an error for sites using Dashboards.
This would prevent the script from completing successfully. The
script has been fixed for future releases.
7.4.3
--------------------------------------------------------------------

View file

@ -65,7 +65,7 @@ sub fixDashboardContentPositions {
fieldType=>'textarea'
});
my $oldContentPositionId = $dashboardId."contentPositions";
my $userPositioning = $db->read("select userId, `".$oldContentPositionId."` from userProfileData");
my $userPositioning = $db->read("select userId, " . $db->dbh->quote_identifier($oldContentPositionId) . " from userProfileData");
while (my ($userId, $positions) = $userPositioning->array) {
$db->write("update userProfileData set $newContentPositionId = ? where userId=?", [$positions, $userId]);
}