Merge pull request #387 from fermionic/diaspora-slight-signature-bug
missed a couple of variable names when I redid comment and like code
This commit is contained in:
commit
2096a5782e
1 changed files with 2 additions and 2 deletions
|
@ -1272,7 +1272,7 @@ function diaspora_comment($importer,$xml,$msg) {
|
||||||
if(($parent_item['origin']) && (! $parent_author_signature)) {
|
if(($parent_item['origin']) && (! $parent_author_signature)) {
|
||||||
q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
|
q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
|
||||||
intval($message_id),
|
intval($message_id),
|
||||||
dbesc($author_signed_data),
|
dbesc($signed_data),
|
||||||
dbesc(base64_encode($author_signature)),
|
dbesc(base64_encode($author_signature)),
|
||||||
dbesc($diaspora_handle)
|
dbesc($diaspora_handle)
|
||||||
);
|
);
|
||||||
|
@ -1855,7 +1855,7 @@ EOT;
|
||||||
if(! $parent_author_signature) {
|
if(! $parent_author_signature) {
|
||||||
q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
|
q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ",
|
||||||
intval($message_id),
|
intval($message_id),
|
||||||
dbesc($author_signed_data),
|
dbesc($signed_data),
|
||||||
dbesc(base64_encode($author_signature)),
|
dbesc(base64_encode($author_signature)),
|
||||||
dbesc($diaspora_handle)
|
dbesc($diaspora_handle)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue