Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes to JMediaCollection

  • Loading branch information...
commit 1991793a850bf2be6f3398f6e10293dbe7997ef2 1 parent 8cfa967
@kaviththiranga authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 libraries/joomla/media/collection.php
View
4 libraries/joomla/media/collection.php
@@ -66,7 +66,7 @@ public function __construct($options = array())
public function setOptions($options)
{
$prevSignature = md5(serialize($this->options));
- var_dump(self::$instances);
+
// Merge old options with new options
$this->options = array_merge($this->options, $options);
@@ -77,8 +77,6 @@ public function setOptions($options)
// Remove modified instance from instances
unset(self::$instances[$prevSignature]);
}
-
- var_dump(self::$instances);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.