summaryrefslogtreecommitdiff
path: root/plugins/Minify/MinifyPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-06 23:23:30 -0800
committerEvan Prodromou <evan@status.net>2010-01-06 23:23:30 -0800
commita55939f3b1540cf86b6edcf4f0c8ff79fb5f6a20 (patch)
treeb8ed9dc90ba728e36ca3ca77bed71f45a77d6dd4 /plugins/Minify/MinifyPlugin.php
parente1c7851a067d4d8201126816884b9992720010f5 (diff)
parent5d13126c88a8143a1628cc52c2dae4581f134273 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/Minify/MinifyPlugin.php')
-rw-r--r--plugins/Minify/MinifyPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Minify/MinifyPlugin.php b/plugins/Minify/MinifyPlugin.php
index 71fade19a..718bfd163 100644
--- a/plugins/Minify/MinifyPlugin.php
+++ b/plugins/Minify/MinifyPlugin.php
@@ -84,7 +84,7 @@ class MinifyPlugin extends Plugin
function onStartScriptElement($action,&$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 = $this->minifyUrl($src);
}