Browse Source

merge configure with config

euromark 11 years ago
parent
commit
ef7503f441
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Model/Behavior/SluggedBehavior.php

+ 1 - 1
Model/Behavior/SluggedBehavior.php

@@ -88,7 +88,7 @@ class SluggedBehavior extends Behavior {
 		foreach ($this->_defaultConfig['replace'] as $key => $value) {
 			$this->_defaultConfig['replace'][$key] = __($value);
 		}
-		$this->_defaultConfig = array_merge($this->_defaultConfig, (array)Configure::read('Slugged'));
+		$config += (array)Configure::read('Slugged');
 
 		parent::__construct($table, $config);