shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yoav zibin (JIRA)" <j...@apache.org>
Subject [jira] Created: (SHINDIG-1243) person.profile_url is not used (it simply appears in the DB without being used
Date Thu, 03 Dec 2009 14:43:20 GMT
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.


Mime
View raw message