]> git.mxchange.org Git - friendica.git/commitdiff
stricmp does not exist - strcasecmp does
authorFriendika <info@friendika.com>
Sun, 21 Aug 2011 00:50:39 +0000 (17:50 -0700)
committerFriendika <info@friendika.com>
Sun, 21 Aug 2011 00:50:39 +0000 (17:50 -0700)
include/diaspora.php

index 308e5777b1fc24e0124d4fd588834df5f6078c58..e943ea0860e2578bd22699b422a087899d8e4712 100644 (file)
@@ -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'];
        }