aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-30 13:25:37 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-30 13:25:37 -0700
commitfab63ca751beac91d12e06c194101cacd1f909e5 (patch)
tree524fc265d0dbc29db44146b6b26032ca815d605a /mod
parent768acb0a3faf2c2f2a523420710673aaacb64f76 (diff)
downloadvolse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.tar.gz
volse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.tar.bz2
volse-hubzilla-fab63ca751beac91d12e06c194101cacd1f909e5.zip
-Wall cleanup
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');