unburn: remove ending ? from urls

This commit is contained in:
Andrew Dolgov 2013-02-01 00:34:57 +04:00
parent 75a316ab3c
commit 1e6463fde9
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ class Af_Unburn extends Plugin {
}
}
$real_url = preg_replace("/\?$/", "", $real_url);
$article["guid"] = "unburn,$owner_uid:" . $article["guid"];
$article["link"] = $real_url;
}