ExtendedProfile now works better as extended ProfilesettingsAction

This commit is contained in:
Mikael Nordfeldth
2015-07-17 12:46:09 +02:00
parent 9f82da07f1
commit 9045575e62
2 changed files with 85 additions and 149 deletions

View File

@@ -52,7 +52,7 @@ class ExtendedProfile
function loadFields()
{
$detail = new Profile_detail();
$detail->profile_id = $this->profile->id;
$detail->profile_id = $this->profile->getID();
$detail->find();
$fields = array();
@@ -71,7 +71,7 @@ class ExtendedProfile
*/
function getTags()
{
return implode(' ', $this->user->getSelfTags());
return implode(' ', Profile_tag::getSelfTagsArray($this->profile));
}
/**