Update of /cvsroot/openfirst/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9709
Modified Files:
index.php
Log Message:
damn! was using $ofDB!
Changed all instances of $ofDB to $ogDB
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/base/index.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** index.php 30 Jun 2005 02:29:18 -0000 1.17
--- index.php 30 Jun 2005 03:28:26 -0000 1.18
***************
*** 69,73 ****
#FIXME: Bad SQL handling
! if (is_readable("awards/") && $ofDB->numberOfRows($ofDB->query("SELECT * FROM ofirst_config WHERE modulename='awards' AND active='1';")) > 0) {
$qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;");
if(ofirst_dbnum_rows($qu)!=0){
--- 69,73 ----
#FIXME: Bad SQL handling
! if (is_readable("awards/") && $ogDB->numberOfRows($ogDB->query("SELECT * FROM ofirst_config WHERE modulename='awards' AND active='1';")) > 0) {
$qu = ofirst_dbquery("SELECT AwardName FROM ofirst_awards;");
if(ofirst_dbnum_rows($qu)!=0){
|