Merge "Maintenance script for importing site info."
[lhc/web/wiklou.git] / includes / libs / CSSMin.php
index bea6ced..ffe26a9 100644 (file)
@@ -359,7 +359,7 @@ class CSSMin {
         * @return bool
         */
        public static function isLocalUrl( $maybeUrl ) {
-               if ( !self::isRemoteUrl( $maybeUrl ) && $maybeUrl !== '' && $maybeUrl[0] === '/' ) {
+               if ( $maybeUrl !== '' && $maybeUrl[0] === '/' && !self::isRemoteUrl( $maybeUrl ) ) {
                        return true;
                }
                return false;