mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 13:50:17 +00:00
Oooops, put back the warnings ignore for DomDocument
This commit is contained in:
parent
27a924f286
commit
7639f91179
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ function get_body_length($body) {
|
|||
// We need to get rid of hidden tags (display: none)
|
||||
|
||||
// Get rid of the warning. It would be better to have some valid html as input
|
||||
$dom = DomDocument::loadHTML($body);
|
||||
$dom = @DomDocument::loadHTML($body);
|
||||
$xpath = new DOMXPath($dom);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue