aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php2
-rw-r--r--mod/ping.php2
-rw-r--r--mod/profile.php3
3 files changed, 3 insertions, 4 deletions
diff --git a/mod/network.php b/mod/network.php
index 426ad196c..cbd8b6bc3 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -173,7 +173,7 @@ function network_content(&$a, $update = 0) {
$comment = '';
$template = $tpl;
$commentww = '';
-
+ $owner_url = $owner_photo = $owner_name = '';
$profile_url = $item['url'];
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
diff --git a/mod/ping.php b/mod/ping.php
index 731562cd1..0831e57bf 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -25,7 +25,7 @@ function ping_init(&$a) {
);
$intro = $r[0]['total'];
- $myurl = $a->get_baseurl() . '/profile/' . $user['nickname'] ;
+ $myurl = $a->get_baseurl() . '/profile/' . $a->user['nickname'] ;
$r = q("SELECT COUNT(*) AS `total` FROM `mail`
WHERE `uid` = %d AND `seen` = 0 AND `from-url` != '%s' ",
intval(local_user()),
diff --git a/mod/profile.php b/mod/profile.php
index 7c01501d6..3ab77a094 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -85,7 +85,7 @@ function profile_content(&$a, $update = 0) {
$groups = array();
$tab = 'posts';
-
+ $o = '';
if($update) {
// Ensure we've got a profile owner if updating.
@@ -256,7 +256,6 @@ function profile_content(&$a, $update = 0) {
);
-
$cmnt_tpl = load_view_file('view/comment_item.tpl');
$like_tpl = load_view_file('view/like.tpl');