sforkowany z mirror/friendica
Protect access to rel attribute in Network\Probe
rodzic
230c0a50e8
commit
f597f3b378
|
@ -156,7 +156,7 @@ class Probe
|
|||
continue;
|
||||
}
|
||||
|
||||
if (($attributes["rel"] == "lrdd") && !empty($attributes["template"])) {
|
||||
if (!empty($attributes["rel"]) && $attributes["rel"] == "lrdd" && !empty($attributes["template"])) {
|
||||
$type = (empty($attributes["type"]) ? '' : $attributes["type"]);
|
||||
|
||||
$lrdd[$type] = $attributes["template"];
|
||||
|
|
Ładowanie…
Reference in New Issue