aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/diaspora.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 308e5777b..e943ea086 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -493,7 +493,7 @@ function diaspora_comment($importer,$xml,$msg) {
$author_signature = base64_decode($author_signature);
- if(stricmp($diaspora_handle,$msg['author']) == 0) {
+ if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
$person = $contact;
$key = $msg['key'];
}
@@ -662,7 +662,7 @@ function diaspora_like($importer,$xml,$msg) {
$author_signature = base64_decode($author_signature);
- if(stricmp($diaspora_handle,$msg['author']) == 0) {
+ if(strcasecmp($diaspora_handle,$msg['author']) == 0) {
$person = $contact;
$key = $msg['key'];
}