]> git.mxchange.org Git - friendica-addons.git/commitdiff
Pages: Some minor improvements (I guess) :)
authorMichael Vogel <icarus@dabo.de>
Thu, 15 Mar 2012 20:15:40 +0000 (21:15 +0100)
committerMichael Vogel <icarus@dabo.de>
Thu, 15 Mar 2012 20:15:40 +0000 (21:15 +0100)
pages/pages.php

index 9e90cc24ddc2040e81faa11f08c90cbd5c98e3cf..bc56d2e4e9cafc0642cb1182218652116eee6df1 100755 (executable)
@@ -21,6 +21,8 @@ function pages_iscommunity($url, &$pagelist) {
                // When too old or not found fetch the status from the profile
                $ch = curl_init();
 
+               $url = str_replace("/profile/","/hcard/", $url);
+
                curl_setopt($ch, CURLOPT_URL, $url);
                curl_setopt($ch, CURLOPT_HEADER, 0);
                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);