fix profiles urls
This commit is contained in:
parent
5e5c25a2c1
commit
3f48882844
3 changed files with 8 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ class FieldProfileURL(FieldBase):
|
|||
def get_value(self, profile, consts):
|
||||
id = int(profile[self.key])
|
||||
if id > 0:
|
||||
return 'http://www.adopteunmec.com/%d' % id
|
||||
return 'http://www.adopteunmec.com/index.php/profile/%d' % id
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue