Permalink
Browse files

Fixed a bug that caused user preferences to be unsavable.

  • Loading branch information...
1 parent d8df96c commit 10b80536cf0db5a56435be16fb25d10496d9a6dc @markosullivan markosullivan committed with kaecyra Dec 2, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 applications/dashboard/controllers/class.profilecontroller.php
@@ -318,6 +318,7 @@ public function Preferences($UserReference = '', $Username = '', $UserID = '') {
$Session = Gdn::Session();
$this->Permission('Garden.SignIn.Allow');
$this->GetUserInfo($UserReference, $Username, $UserID);
+ $UserPrefs = Gdn_Format::Unserialize($this->User->Preferences);
if (!is_array($UserPrefs))
$UserPrefs = array();

0 comments on commit 10b8053

Please sign in to comment.