Permalink
Browse files

fixes to JMediaCollection

  • Loading branch information...
1 parent 8cfa967 commit 1991793a850bf2be6f3398f6e10293dbe7997ef2 @kaviththiranga committed Dec 11, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 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);
}
/**

0 comments on commit 1991793

Please sign in to comment.