summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-06 17:13:09 -0500
committerCraig Andrews <candrews@integralblue.com>2010-01-06 17:13:09 -0500
commit20144285ca610812abe09018ee208e12e38a966a (patch)
tree24f60a7f88aa4f88e8153eb0b3738328390021ed /plugins
parent541053e84b2754e0d2c8b735c624383b6a126122 (diff)
The structure return by parse_url is an associative array, not an object.
Diffstat (limited to 'plugins')
-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);
}