stricmp does not exist - strcasecmp does
This commit is contained in:
parent
349ea8d475
commit
c6a05443f7
1 changed files with 2 additions and 2 deletions
|
@ -493,7 +493,7 @@ function diaspora_comment($importer,$xml,$msg) {
|
||||||
|
|
||||||
$author_signature = base64_decode($author_signature);
|
$author_signature = base64_decode($author_signature);
|
||||||
|
|
||||||
if(stricmp($diaspora_handle,$msg['author']) == 0) {
|
if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
|
||||||
$person = $contact;
|
$person = $contact;
|
||||||
$key = $msg['key'];
|
$key = $msg['key'];
|
||||||
}
|
}
|
||||||
|
@ -662,7 +662,7 @@ function diaspora_like($importer,$xml,$msg) {
|
||||||
|
|
||||||
$author_signature = base64_decode($author_signature);
|
$author_signature = base64_decode($author_signature);
|
||||||
|
|
||||||
if(stricmp($diaspora_handle,$msg['author']) == 0) {
|
if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
|
||||||
$person = $contact;
|
$person = $contact;
|
||||||
$key = $msg['key'];
|
$key = $msg['key'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue