diff options
author | friendica <info@friendica.com> | 2012-03-13 15:41:13 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-13 15:41:13 -0700 |
commit | 427362c324e5acfad18c72108a59a9e6e5b58550 (patch) | |
tree | 7046e107ea723a917959606bfc4c41d2c8ccd2b7 /mod/parse_url.php | |
parent | dc84da520d7bde3f2e160d2573a549829fd022cf (diff) | |
parent | acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (diff) | |
download | volse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.tar.gz volse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.tar.bz2 volse-hubzilla-427362c324e5acfad18c72108a59a9e6e5b58550.zip |
Merge branch 'pull'
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'); |