From 5982f8246a2fcc2e282e536d7d70d0a19ddd6a23 Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Wed, 12 Mar 2014 18:35:45 -0500 Subject: [PATCH] Short term fix for extra noimage displaying. --- index.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index f97ea36..09cea34 100755 --- a/index.php +++ b/index.php @@ -15,16 +15,18 @@ //make empty boxes for images $file = "./items/images.php"; $lineCount = count(file($file)); - if($lineCount[1] == '') { + // Sloppy fix on blank line on items/images.php + if($lineCount <= 16) { $lineCount--; } - if ($lineCount <= 15) { + //echo $lineCount; + if($lineCount < 16) { $blankImg = $lineCount; for ($x = $blankImg; $x < 16; $x++) { echo "
"; } } - ?> + ?>

Welcome