Update of /cvsroot/openfirst/photogallery
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3507/photogallery
Modified Files:
index.php
Log Message:
Fixing Bug #244.
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/photogallery/index.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** index.php 15 Aug 2004 20:05:46 -0000 1.16
--- index.php 3 Apr 2005 00:58:02 -0000 1.17
***************
*** 44,47 ****
--- 44,48 ----
$query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries ORDER BY ID desc;");
while($gallery = ofirst_dbfetch_object($query)){
+ if (is_object($gallery)) {
?>
<tr>
***************
*** 52,55 ****
--- 53,57 ----
</tr>
<?php
+ }
}
|