Skip to content

Commit

Permalink
Merge branch 'dev' of git://github.com/ceeram/infinitas into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Jan 7, 2010
2 parents 6c7763e + ab7e540 commit 4d1ae37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app_model.php
Expand Up @@ -26,7 +26,7 @@ class AppModel extends Model {
/**
* Behaviors to attach to the site.
*/
var $actsAs = array('Containable', 'Core.Lockable');
var $actsAs = array('Containable', 'Core.Lockable', 'Core.Logable');
}

?>
2 changes: 1 addition & 1 deletion infinitas/core/models/behaviors/viewable.php
Expand Up @@ -67,7 +67,7 @@ function afterFind(&$Model, $data) {
$Model->primaryKey} = $data[0][$Model->alias][$Model->primaryKey];
$Model->saveField($this->__settings[$Model->alias]['view_counter'],
$data[0][$Model->alias][$this->__settings[$Model->alias]['view_counter']]
);
, array('callbacks'=>false));
}

return $data;
Expand Down

0 comments on commit 4d1ae37

Please sign in to comment.