[Openfirst-cvscommit] base index.php,1.16,1.17
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-06-30 02:29:26
|
Update of /cvsroot/openfirst/base In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12070 Modified Files: index.php Log Message: added comment Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/index.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** index.php 29 Jun 2005 21:20:41 -0000 1.16 --- index.php 30 Jun 2005 02:29:18 -0000 1.17 *************** *** 68,72 **** } ! if (is_readable("awards/") && ofirst_dbnum_rows(ofirst_dbquery("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){ --- 68,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){ |