Too aggressive with Horde -> self:: conversions
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 24 Dec 2009 00:48:36 +0000 (17:48 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 24 Dec 2009 04:19:21 +0000 (21:19 -0700)
framework/Core/lib/Horde.php

index b26af6d..448176f 100644 (file)
@@ -1712,7 +1712,7 @@ HTML;
                     // comments.
                     $tmp = preg_replace(array('/(url\(["\']?)([^\/])/i', '/\s+/', '/\/\*.*?\*\//'), array('$1' . $path . '$2', ' ', ''), implode('', file($file['f'], $flags)));
                     if ($GLOBALS['browser']->hasFeature('dataurl')) {
-                        $tmp = preg_replace_callback('/(background(?:-image)?:[^;}]*(?:url\(["\']?))(.*?)((?:["\']?\)))/i', array(self, 'stylesheetCallback'), $tmp);
+                        $tmp = preg_replace_callback('/(background(?:-image)?:[^;}]*(?:url\(["\']?))(.*?)((?:["\']?\)))/i', array('Horde', 'stylesheetCallback'), $tmp);
                     }
                     $out .= $tmp;
                 }