aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ratings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-15 23:45:22 -0800
committerfriendica <info@friendica.com>2015-02-15 23:45:22 -0800
commit1c4b9199809581504ee66212f3bb434fd9773aff (patch)
tree30ab8105e3b42c4b089b04a89b69a4ed7192eba7 /mod/ratings.php
parent8774089005501a6429eb9a99a73de504598a24c3 (diff)
downloadvolse-hubzilla-1c4b9199809581504ee66212f3bb434fd9773aff.tar.gz
volse-hubzilla-1c4b9199809581504ee66212f3bb434fd9773aff.tar.bz2
volse-hubzilla-1c4b9199809581504ee66212f3bb434fd9773aff.zip
force site_url to be lowercase when stored. Otherwise rating hubs on postgres could get real messy.
Diffstat (limited to 'mod/ratings.php')
-rw-r--r--mod/ratings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/ratings.php b/mod/ratings.php
index 684856f45..dc98eb238 100644
--- a/mod/ratings.php
+++ b/mod/ratings.php
@@ -92,7 +92,8 @@ function ratings_content(&$a) {
return;
$site_target = ((array_key_exists('target',$a->data) && array_key_exists('site_url',$a->data['target'])) ?
- $a->data['target']['site_url'] : '');
+ '<a href="' . $a->data['target']['site_url'] . '" >' . $a->data['target']['site_url'] . '</a>' : '');
+
$o = replace_macros(get_markup_template('prep.tpl'),array(
'$header' => t('Ratings'),