aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-31 20:58:05 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-31 20:58:05 -0700
commit039f56f390c69ad0aedadcca3d611fea0d9eebf9 (patch)
tree757f0ce289961e3efa2441a9a625872aa34b3815 /mod/like.php
parentb4cbb3aeb1b7b383966bd8ca36d8a2f2fa608f0b (diff)
downloadvolse-hubzilla-039f56f390c69ad0aedadcca3d611fea0d9eebf9.tar.gz
volse-hubzilla-039f56f390c69ad0aedadcca3d611fea0d9eebf9.tar.bz2
volse-hubzilla-039f56f390c69ad0aedadcca3d611fea0d9eebf9.zip
mostly doc tweaks, some import/export work
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php
index 9077adbda..2992319af 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -486,9 +486,9 @@ function like_content(&$a) {
dbesc($ch[0]['channel_hash']),
intval($post_id),
dbesc($activity),
- dbesc(($tgttype)?$tgttype:$objtype),
+ dbesc(($tgttype)? $tgttype : $objtype),
dbesc($obj_id),
- dbesc(json_encode(($target)?$target:$object))
+ dbesc(($target) ? $target : $object)
);
};