From 1ac68b6a74ed4ec21102e55ed203b5f7e3fab26f Mon Sep 17 00:00:00 2001 From: shish Date: Fri, 17 Oct 2008 20:34:48 +0000 Subject: [PATCH] quit whining and deal with the problem git-svn-id: file:///home/shish/svn/shimmie2/trunk@1080 7f39781d-f577-437e-ae19-be835c7a54ca --- core/image.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/image.class.php b/core/image.class.php index 4706f4ff..e533c8ab 100644 --- a/core/image.class.php +++ b/core/image.class.php @@ -57,8 +57,8 @@ class Image { public static function find_images(Config $config, Database $database, $start, $limit, $tags=array()) { $images = array(); - assert(is_numeric($start) && $start >= 0); - assert(is_numeric($limit) && $limit > 0); + assert(is_numeric($start)); + assert(is_numeric($limit)); if($start < 0) $start = 0; if($limit < 1) $limit = 1;