diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-07 09:53:29 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-07 09:53:29 +0000 |
commit | e53512cd2c2180f81fc7317de9df09a140099aa3 (patch) | |
tree | 0ce2990af79feb5c2fb048841d0c61c184dbba00 /lib/htmloutputter.php | |
parent | d17c2d8ebacb799e7dd6bebe249df765ea918880 (diff) | |
parent | f4fa785fb7cf6f222f77ad81f6a1e50e5af7fdf3 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index 2091c6e2c..31660ce95 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -352,7 +352,7 @@ class HTMLOutputter extends XMLOutputter { if(Event::handle('StartScriptElement', array($this,&$src,&$type))) { $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'])) { $src = common_path($src) . '?version=' . STATUSNET_VERSION; } |