1
0
Fork 0

Corrected the count for pre-existing screens so image 927 displayed the correct thumbnail.

This commit is contained in:
Andrew Tomaka 2011-11-12 19:36:46 -05:00
parent 7fcfefee12
commit 1f8203facb
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<div id="imageContainer" style="width: 960px;margin: auto;">
<?php
foreach($uploads as $upload) {
$extension = (preg_match('/guild/',$_SERVER['HTTP_HOST']) != 0 && $upload->id <= 927)
$extension = (preg_match('/guild/',$_SERVER['HTTP_HOST']) != 0 && $upload->id <= 926)
? '.jpg' : $upload->extension;
?>
<div id="galleryContainer">