From 61edc9ff5ec7ae160223562ee82088a84c4b9753 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 15 Mar 2012 21:15:40 +0100 Subject: [PATCH] Pages: Some minor improvements (I guess) :) --- pages/pages.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/pages.php b/pages/pages.php index 9e90cc24..bc56d2e4 100755 --- a/pages/pages.php +++ b/pages/pages.php @@ -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); -- 2.39.5