aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 08:43:30 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-01-23 08:43:30 +0100
commit60c5e76b2db83038b987b2c54aa21bb9818d2fa1 (patch)
tree3d98921fb266f33982b1ddd7c77b38c81e6ea43b /mod
parent96620520a8be98204ebc5b3023c6a2db9aa5e540 (diff)
parent6c0218563f9d1b88a2adbaaa875558d4c3abea0b (diff)
downloadvolse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.tar.gz
volse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.tar.bz2
volse-hubzilla-60c5e76b2db83038b987b2c54aa21bb9818d2fa1.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod')
-rw-r--r--mod/dfrn_request.php2
-rw-r--r--mod/like.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index 742d25142..24c466bba 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -590,7 +590,7 @@ function dfrn_request_content(&$a) {
$myaddr = $a->user['nickname'] . '@' . substr($a->get_baseurl(), strpos($a->get_baseurl(),'://') + 3 );
}
}
- elseif($x($_GET,'addr')) {
+ elseif(x($_GET,'addr')) {
$myaddr = hex2bin($_GET['addr']);
}
else {
diff --git a/mod/like.php b/mod/like.php
index f256cd9a1..7b2097578 100644
--- a/mod/like.php
+++ b/mod/like.php
@@ -149,7 +149,7 @@ EOT;
$arr['author-name'] = $contact['name'];
$arr['author-link'] = $contact['url'];
$arr['author-avatar'] = $contact['thumb'];
- $arr['body'] = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . ' ' . t('likes') . ' '
+ $arr['body'] = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . ' ' . $bodyverb . ' '
. '[url=' . $item['author-link'] . ']' . $item['author-name'] . t('\'s') . '[/url]' . ' '
. '[url=' . $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . ']' . $post_type . '[/url]' ;