aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-26 17:24:20 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-26 17:24:20 -0700
commit34eedb503acad59d649f96d3250b40cc1c84047c (patch)
tree95f0eb71d4db446743f5043ce8009fcc1566d9fa /mod/network.php
parent1105cdb0654b6f9bb03e686b351da1cdaa8d8f4f (diff)
downloadvolse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.tar.gz
volse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.tar.bz2
volse-hubzilla-34eedb503acad59d649f96d3250b40cc1c84047c.zip
stronger type checking on comparisons
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index fa267fee2..541e10494 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -172,7 +172,7 @@ function network_content(&$a, $update = 0) {
if(($item['parent'] == $item['item_id']) && (! $item['self'])) {
- if($item['type'] == 'wall') {
+ if($item['type'] === 'wall') {
// I do. Put me on the left of the wall-to-wall notice.
$owner_url = $a->contact['url'];
$owner_photo = $a->contact['thumb'];
@@ -180,7 +180,7 @@ function network_content(&$a, $update = 0) {
$template = $wallwall;
$commentww = 'ww';
}
- if($item['type'] == 'remote' && ($item['owner-link'] != $item['author-link'])) {
+ if($item['type'] === 'remote' && ($item['owner-link'] != $item['author-link'])) {
// Could be anybody.
$owner_url = $item['owner-link'];
$owner_photo = $item['owner-avatar'];