]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/htmloutputter.php
parse_url returns an associative array - not an object
[quix0rs-gnu-social.git] / lib / htmloutputter.php
index 317f5ea612a79b486488875120188583a10d1e01..4a88337bc509b66429efe6ae4181bcc9953bedef 100644 (file)
@@ -428,7 +428,7 @@ class HTMLOutputter extends XMLOutputter
     {
         if(Event::handle('StartCssLinkElement', array($this,&$src,&$theme,&$media))) {
             $url = parse_url($src);
-            if( empty($url->scheme) && empty($url->host) && empty($url->query) && empty($url->fragment))
+            if( empty($url['scheme']) && empty($url['host']) && empty($url['query']) && empty($url['fragment']))
             {
                 if(file_exists(Theme::file($src,$theme))){
                    $src = Theme::path($src, $theme);