Skip to content

Commit

Permalink
Remove line to merge helper settings as it's done in parent construct…
Browse files Browse the repository at this point in the history
…or already
  • Loading branch information
tigrang committed Jan 18, 2015
1 parent 6452776 commit 4b4ad6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion View/Helper/DataTableHelper.php
Expand Up @@ -75,7 +75,6 @@ class DataTableHelper extends HtmlHelper {
*/
public function __construct(View $View, $settings = array()) {
parent::__construct($View, $settings);
$this->settings = Hash::merge($this->settings, $settings);
if (isset($this->_View->viewVars['dtColumns'])) {
$dtColumns = $this->_View->viewVars['dtColumns'];
foreach($dtColumns as $model => $columns) {
Expand Down

0 comments on commit 4b4ad6e

Please sign in to comment.