aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-20 17:50:39 -0700
committerFriendika <info@friendika.com>2011-08-20 17:50:39 -0700
commitc6a05443f7baa92f3e1716d0229fbb3f1f9aa556 (patch)
treefb28fd141e3a3e0cd7663d6521052e869399319a /include/diaspora.php
parent349ea8d4758a78e668405d3c1c2b3e0f6dd9f25a (diff)
downloadvolse-hubzilla-c6a05443f7baa92f3e1716d0229fbb3f1f9aa556.tar.gz
volse-hubzilla-c6a05443f7baa92f3e1716d0229fbb3f1f9aa556.tar.bz2
volse-hubzilla-c6a05443f7baa92f3e1716d0229fbb3f1f9aa556.zip
stricmp does not exist - strcasecmp does
Diffstat (limited to 'include/diaspora.php')
-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'];
}