From 046fb2c33a0ef2a1875c60c5336830e210b27915 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 19 Aug 2009 05:53:27 +0100 Subject: [PATCH] did I mention 'aaaaaaargh php'? --- ext/comment/theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/comment/theme.php b/ext/comment/theme.php index 1799a5b7..6b7e5bca 100644 --- a/ext/comment/theme.php +++ b/ext/comment/theme.php @@ -10,8 +10,8 @@ class CommentListTheme extends Themelet { // aaaaaaargh php assert(is_array($images)); - assert(is_int($page_number)); - assert(is_int($total_pages)); + assert(is_numeric($page_number)); + assert(is_numeric($total_pages)); assert(is_bool($can_post)); // parts for the whole page