diff options
author | friendica <info@friendica.com> | 2015-02-02 17:58:51 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-02 17:58:51 -0800 |
commit | fa710106e5f97744e43a61a7e9ef5a1b993261ee (patch) | |
tree | e0146b5df9245bc40b675e2cae309cade8fe45db /mod/prate.php | |
parent | 03bb236651fa77c5e73bd04bcf918091d26557b3 (diff) | |
download | volse-hubzilla-fa710106e5f97744e43a61a7e9ef5a1b993261ee.tar.gz volse-hubzilla-fa710106e5f97744e43a61a7e9ef5a1b993261ee.tar.bz2 volse-hubzilla-fa710106e5f97744e43a61a7e9ef5a1b993261ee.zip |
sign the ratings, fix the bugs
Diffstat (limited to 'mod/prate.php')
-rw-r--r-- | mod/prate.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/prate.php b/mod/prate.php index 9c46d205a..00de8b6fc 100644 --- a/mod/prate.php +++ b/mod/prate.php @@ -28,7 +28,7 @@ function prate_post(&$a) { $sig = base64url_encode(rsa_sign($signed,$channel['channel_prvkey'])); - $z = q("select * from xlink where xlink_xchan = '%s' and xlink_xlink = '%s' and xlink_static = 1 limit 1", + $z = q("select * from xlink where xlink_xchan = '%s' and xlink_link = '%s' and xlink_static = 1 limit 1", dbesc($channel['channel_hash']), dbesc($target) ); |