Skip to content

Commit

Permalink
Merge branch 'hotfix/null-views'
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrrgn committed Apr 19, 2011
2 parents be2fd1a + 23e9625 commit eadb846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fuel/app/classes/controller/scraps.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function action_new()
$scrap->private = $private;
$scrap->created_at = time();
$scrap->updated_at = time();
$scrap->views = 0;
$scrap->save();

if (Fuel::$env === Fuel::PRODUCTION)
Expand Down

0 comments on commit eadb846

Please sign in to comment.