We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 5092f98c authored by Evan Prodromou's avatar Evan Prodromou

return empty hints if no hcard in the html

parent 1e03968d
......@@ -65,6 +65,10 @@ class DiscoveryHints {
{
$hcard = self::_hcard($body, $url);
if (empty($hcard)) {
return array();
}
$hints = array();
// XXX: don't copy stuff into an array and then copy it again
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment