summaryrefslogtreecommitdiff
path: root/core/controllers/albums.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/albums.php')
-rw-r--r--core/controllers/albums.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php
index e84968c3..0947e913 100644
--- a/core/controllers/albums.php
+++ b/core/controllers/albums.php
@@ -46,6 +46,9 @@ class Albums_Controller extends Items_Controller {
$template->set_global("parents", $item->parents());
$template->content = new View("album.html");
+ $item->view_count++;
+ $item->save();
+
print $template;
}