[Openfirst-cvscommit] awards/admin index.php,1.17,1.18
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-03-13 02:09:10
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23125/awards/admin Modified Files: index.php Log Message: Fixed bug if there was no award Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** index.php 7 Aug 2004 02:06:59 -0000 1.17 --- index.php 13 Mar 2005 02:09:00 -0000 1.18 *************** *** 96,100 **** $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); } else { ! $award = object; } ?> --- 96,100 ---- $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); } else { ! $award = ''; } ?> *************** *** 180,186 **** <th> </th> <?php if($award == "") { ?> ! <td><input name="create" type="submit" id="create" value="Create Listing"></td> <?php } else { ?> ! <td><input name="modify" type="submit" id="modify" value="Modify Listing"></td> <?php } ?> </tr> --- 180,186 ---- <th> </th> <?php if($award == "") { ?> ! <td><input name="create" type="submit" id="create" value="Create Award"></td> <?php } else { ?> ! <td><input name="modify" type="submit" id="modify" value="Modify Award"></td> <?php } ?> </tr> |