Permalink
Browse files

Merge pull request #1528 from realityking/fixunit

Fix failing unit tests.
  • Loading branch information...
2 parents 88c2a4f + 510a57f commit 3d84f34478c544aba18acf356dfb170850d136b7 @LouisLandry LouisLandry committed Sep 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/legacy/view/legacy.php
@@ -484,7 +484,7 @@ public function getName()
*
* @since 12.2
*/
- public function setModel(JModelLegacy $model, $default = false)
+ public function setModel($model, $default = false)
{
$name = strtolower($model->getName());
$this->_models[$name] = $model;

0 comments on commit 3d84f34

Please sign in to comment.