]> git.mxchange.org Git - friendica.git/blobdiff - include/salmon.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / include / salmon.php
index 5e9c4fa616dc1df20eec3c8d16ac372add35155e..c5c3d722371c9066ae0e7bcee1e76849008f3ed0 100644 (file)
@@ -24,7 +24,7 @@ function get_salmon_key($uri,$keyhash) {
        // We have found at least one key URL
        // If it's inline, parse it - otherwise get the key
 
-       if(count($ret)) {
+       if(count($ret) > 0) {
                for($x = 0; $x < count($ret); $x ++) {
                        if(substr($ret[$x],0,5) === 'data:') {
                                if(strstr($ret[$x],','))