diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-06-03 18:03:20 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-06-03 18:03:20 -0400 |
commit | 8d4c77fc43e4d37e807248f13afb5b2913b6cfc4 (patch) | |
tree | 688f64270521b0c47eaacae020e2ba92274fddeb /mod/item.php | |
parent | 598a2563e844477de2f688663c7c46962b26b602 (diff) | |
parent | 9f4b89726176f9596cf3330a68cfab8cab5ab361 (diff) | |
download | volse-hubzilla-8d4c77fc43e4d37e807248f13afb5b2913b6cfc4.tar.gz volse-hubzilla-8d4c77fc43e4d37e807248f13afb5b2913b6cfc4.tar.bz2 volse-hubzilla-8d4c77fc43e4d37e807248f13afb5b2913b6cfc4.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
rev update
database updates
Debugged implementation of Diaspora relayable_retractions
cleanup and logging
first shot at getting like/unlike functions to work consistently
Fix bugs in the retraction code
prepare to implement database update
Implement relaying of relayable_retractions
Support relayable_retractions that are relayed to us by the top-level post owner
quattro: admin panel styling and 1st buttons for addon/theme overview
privacy settings: make submit button translateable
DE: update to the strings
prv messages: make submit translateable
* 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 { |