Permalink
Browse files

Fixing options keys.

  • Loading branch information...
meenie committed Mar 20, 2013
1 parent e30eede commit 27af3baa0f690f5c2e67634f90218caa9b333ee6
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Munee/Asset/Type.php
View
@@ -84,11 +84,12 @@ public function __construct(Request $Request)
$this->_cacheDir = MUNEE_CACHE . DS . $assetShortName;
$optionsKey = strtolower($assetShortName);
// Set the AssetType options if someone were passed in through the Request Class
if (isset($this->_request->options[$assetShortName])) {
if (isset($this->_request->options[$optionsKey])) {
$this->_options = array_merge(
$this->_options,
$this->_request->options[$assetShortName]
$this->_request->options[$optionsKey]
);
}

0 comments on commit 27af3ba

Please sign in to comment.