summaryrefslogtreecommitdiff
path: root/plugins/Minify/MinifyPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-18 06:36:47 -0500
committerEvan Prodromou <evan@status.net>2010-02-18 06:36:47 -0500
commitb6e5d4ecc39aa0ee8618e2907aa3ad8f4e9af8a5 (patch)
treeb45314ad86becbda16fb475ac36d1431492069dd /plugins/Minify/MinifyPlugin.php
parent80ef3946d016eeeef1682e73eddffb222d8db149 (diff)
parent07f145049e8f0de848255d7b21ddb64866db0c83 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
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 b49b6a4ba..fe1883ded 100644
--- a/plugins/Minify/MinifyPlugin.php
+++ b/plugins/Minify/MinifyPlugin.php
@@ -96,7 +96,7 @@ class MinifyPlugin extends Plugin
&& is_null(common_config('theme', 'path'))
&& is_null(common_config('theme', 'server'));
$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(!isset($theme)) {
$theme = common_config('site', 'theme');