diff options
author | friendica <info@friendica.com> | 2015-02-02 20:13:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-02 20:13:07 -0800 |
commit | 1807db6cb0cc297aff32750b371a4e2e6539ad31 (patch) | |
tree | d8045e14bfa0ddf0760a8ac90a284fdd9eb4ca10 /mod/connedit.php | |
parent | fa710106e5f97744e43a61a7e9ef5a1b993261ee (diff) | |
download | volse-hubzilla-1807db6cb0cc297aff32750b371a4e2e6539ad31.tar.gz volse-hubzilla-1807db6cb0cc297aff32750b371a4e2e6539ad31.tar.bz2 volse-hubzilla-1807db6cb0cc297aff32750b371a4e2e6539ad31.zip |
send rating information to directories
Diffstat (limited to 'mod/connedit.php')
-rw-r--r-- | mod/connedit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/connedit.php b/mod/connedit.php index 93cf1b09a..79c7e6a4f 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -117,7 +117,7 @@ function connedit_post(&$a) { if($rating > 10) $rating = 10; - $rating_text = escape_tags($_REQUEST['rating_text']); + $rating_text = trim(escape_tags($_REQUEST['rating_text'])); $abook_my_perms = 0; @@ -132,7 +132,7 @@ function connedit_post(&$a) { if(! $is_self) { - $signed = $target . '.' . $rating . '.' . $rating_text; + $signed = $orig_record[0]['abook_xchan'] . '.' . $rating . '.' . $rating_text; $sig = base64url_encode(rsa_sign($signed,$channel['channel_prvkey'])); @@ -170,7 +170,7 @@ function connedit_post(&$a) { $record = $z[0]['xlink_id']; } if($record) { - proc_run('php','include/notifier.php','rating',$record); + proc_run('php','include/ratenotif.php','rating',$record); } } |