summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-02-17 12:02:59 -0500
committerCraig Andrews <candrews@integralblue.com>2010-02-17 12:02:59 -0500
commitc19300272f0074359b2713c35d2fb46bbd1b42ec (patch)
treea43ac0929155f0f501347ac806a6107264171276 /lib/htmloutputter.php
parent389e6d54bfcabd0eb2f6849c914684808aefa53c (diff)
parse_url returns an associative array - not an object
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r--lib/htmloutputter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 47e56fc8f..7315fe2ad 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -439,7 +439,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);