diff options
author | zottel <github@zottel.net> | 2012-06-05 08:20:41 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-06-05 08:20:41 +0200 |
commit | ef6446288ba4b7590cbb770cdf3c84524f96fd34 (patch) | |
tree | e3143678da646c7d237b1bb3820202fbd93da7ea /mod/item.php | |
parent | 70c4ab68754941749a5e89434d6db19f6bba1e16 (diff) | |
parent | b13c6ea9adde898d499fb70134fa5c99d324031a (diff) | |
download | volse-hubzilla-ef6446288ba4b7590cbb770cdf3c84524f96fd34.tar.gz volse-hubzilla-ef6446288ba4b7590cbb770cdf3c84524f96fd34.tar.bz2 volse-hubzilla-ef6446288ba4b7590cbb770cdf3c84524f96fd34.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 10 |
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 { |