From 332adffd48e5a9de39cf82f5e19250e5923fc59c Mon Sep 17 00:00:00 2001 From: David McReynolds Date: Mon, 13 Oct 2014 21:19:35 -0700 Subject: [PATCH] fixed error with duplicating a model record --- fuel/modules/fuel/core/MY_Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuel/modules/fuel/core/MY_Model.php b/fuel/modules/fuel/core/MY_Model.php index ba9a49e23..b03c3ca9a 100755 --- a/fuel/modules/fuel/core/MY_Model.php +++ b/fuel/modules/fuel/core/MY_Model.php @@ -4665,7 +4665,7 @@ public function duplicate() // call on duplicate method $values = $this->_parent_model->on_duplicate($values); - $dup->fill($$values); + $dup->fill($values); // NULL out key values so as not to overwrite existing objects $key_field = (array) $this->_parent_model->key_field();