Merge pull request #6755 from MrPetovan/bug/notices
Protect access to rel attribute in Network\Probe
This commit is contained in:
commit
4f300e41b4
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue