aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-03 14:48:28 -0700
committerfriendica <info@friendica.com>2012-06-03 14:48:28 -0700
commit9f4b89726176f9596cf3330a68cfab8cab5ab361 (patch)
tree688f64270521b0c47eaacae020e2ba92274fddeb /mod/item.php
parent0b657aa2357bf8785302b55e2cafb397d67cb377 (diff)
parenta66baf29188248fd83ccdf7053a0cf589a9fa8af (diff)
downloadvolse-hubzilla-9f4b89726176f9596cf3330a68cfab8cab5ab361.tar.gz
volse-hubzilla-9f4b89726176f9596cf3330a68cfab8cab5ab361.tar.bz2
volse-hubzilla-9f4b89726176f9596cf3330a68cfab8cab5ab361.zip
Merge https://github.com/friendica/friendica into pull
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/item.php b/mod/item.php
index 497cf5daa..c1c0b14ec 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -737,16 +737,16 @@ function item_post(&$a) {
if($datarray['verb'] === ACTIVITY_LIKE)
$signed_text = $datarray['guid'] . ';' . 'Post' . ';' . $parent_item['guid'] . ';' . 'true' . ';' . $myaddr;
else
- $signed_text = $datarray['guid'] . ';' . $parent_item['guid'] . ';' . $signed_body . ';' . $myaddr;
+ $signed_text = $datarray['guid'] . ';' . $parent_item['guid'] . ';' . $signed_body . ';' . $myaddr;
$authorsig = base64_encode(rsa_sign($signed_text,$a->user['prvkey'],'sha256'));
q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
intval($post_id),
- dbesc($signed_text),
- dbesc(base64_encode($authorsig)),
- dbesc($myaddr)
- );
+ dbesc($signed_text),
+ dbesc(base64_encode($authorsig)),
+ dbesc($myaddr)
+ );
}
}
else {