mirror of
https://github.com/friendica/friendica
synced 2024-11-10 09:02:53 +00:00
Avoid warning "Undefined namespace prefix"
This commit is contained in:
parent
11538376ed
commit
3444c29b0b
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ class XML
|
|||
|
||||
public static function getFirstNodeValue(DOMXPath $xpath, $element, $context = null)
|
||||
{
|
||||
$result = $xpath->evaluate($element, $context);
|
||||
$result = @$xpath->evaluate($element, $context);
|
||||
if (!is_object($result)) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue