diff options
author | Michael Vogel <icarus@dabo.de> | 2012-03-15 21:11:58 +0100 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-03-15 21:11:58 +0100 |
commit | 9243c9fc141237453f05d215058d4b975d010437 (patch) | |
tree | 0c63dd28deeb2157ee2683e787f00a4e8b5eaa7b /mod/parse_url.php | |
parent | 6e7a190e9197bcf4d00accc5d85ccca4a080bec8 (diff) | |
parent | ab89aa90caced4f60fc0ae944c7190e156a872e2 (diff) | |
download | volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.tar.gz volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.tar.bz2 volse-hubzilla-9243c9fc141237453f05d215058d4b975d010437.zip |
Merge commit 'upstream/master'
Diffstat (limited to 'mod/parse_url.php')
-rwxr-xr-x | mod/parse_url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php index e0b378f68..27dac4d5d 100755 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -188,7 +188,7 @@ function parse_url_content(&$a) { if(! $text) { logger('parsing meta'); - $items = $domhead->getElementsByTagName('meta'); + $items = (isset($domhead) && is_object($domhead) ? $domhead->getElementsByTagName('meta') : null); if($items) { foreach($items as $item) { $property = $item->getAttribute('property'); |