From 769b34e9d6172901ef38ddea4c78c257c9180273 Mon Sep 17 00:00:00 2001 From: clickwork-git Date: Sat, 31 Oct 2015 13:43:46 +0100 Subject: [PATCH] Fix page count Because there is a directory "error" the page count is wrong. This works, but I'm not sure, if it's the right syntax ("$dbPages->count()-1"). --- admin/views/dashboard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/views/dashboard.php b/admin/views/dashboard.php index c602dbbf..4e926424 100644 --- a/admin/views/dashboard.php +++ b/admin/views/dashboard.php @@ -73,7 +73,7 @@ p('Pages') ?> - count() ?> + count()-1 ?> p('Users') ?> @@ -128,4 +128,4 @@ - \ No newline at end of file +