aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.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/like.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/like.php')
-rw-r--r--mod/like.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php
index 10a466b50..c7782d4d7 100644
--- a/mod/like.php
+++ b/mod/like.php
@@ -121,9 +121,9 @@ function like_content(&$a) {
<content>$body</content>
</object>
EOT;
- if($verb == 'like')
+ if($verb === 'like')
$bodyverb = t('likes');
- if($verb == 'dislike')
+ if($verb === 'dislike')
$bodyverb = t('doesn\'t like');
if(! isset($bodyverb))