1
1
Fork 0

missed a couple of variable names when I redid comment and like code

This commit is contained in:
Zach Prezkuta 2012-07-09 20:35:59 -06:00
parent 61ff2ecab2
commit d89b4cea64

View file

@ -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)
); );