aboutsummaryrefslogtreecommitdiffstats
path: root/mod/parse_url.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-13 15:41:13 -0700
committerfriendica <info@friendica.com>2012-03-13 15:41:13 -0700
commit427362c324e5acfad18c72108a59a9e6e5b58550 (patch)
tree7046e107ea723a917959606bfc4c41d2c8ccd2b7 /mod/parse_url.php
parentdc84da520d7bde3f2e160d2573a549829fd022cf (diff)
parentacc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (diff)
downloadvolse-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-xmod/parse_url.php2
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');