You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "yoav zibin (JIRA)" <ji...@apache.org> on 2009/12/03 15:43:20 UTC

[jira] Created: (SHINDIG-1243) person.profile_url is not used (it simply appears in the DB without being used

person.profile_url is not used (it simply appears in the DB without being used
------------------------------------------------------------------------------

                 Key: SHINDIG-1243
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1243
             Project: Shindig
          Issue Type: Bug
          Components: PHP
            Reporter: yoav zibin


I fixed it as follows:

Changed:
        $person->setProfileUrl($this->url_prefix . '/profile/' . $row['id']);
to:
        $person->setProfileUrl($row['profile_url']);


Another (similar) error is in thumbnail_url, which is added a prefix.
So I changed:
$person->setThumbnailUrl(! empty($row['thumbnail_url']) ? $this->url_prefix . $row['thumbnail_url'] : '');
to:
$person->setThumbnailUrl(! empty($row['thumbnail_url']) ? $row['thumbnail_url'] : ''); // removed  $this->url_prefix .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.