[ffl-cvs] old/ffl/php teams.php,NONE,1.24
Status: Inactive
Brought to you by:
rizzo
From: Brad S. <sc...@us...> - 2004-08-06 00:07:03
|
Update of /cvsroot/ffl/old/ffl/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18614 Modified Files: Tag: 1.24 teams.php Log Message: Updated file so that regular modifications to team information do not trigger the "timestamp". Index: teams.php =================================================================== RCS file: /cvsroot/ffl/old/ffl/php/teams.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** teams.php 24 Jul 2004 18:20:05 -0000 1.23 --- teams.php 6 Aug 2004 00:06:54 -0000 1.24 *************** *** 362,365 **** --- 362,367 ---- // successful, it brings the owner back to the lineup // display/edit page. + if(empty($fflteam_id) || (!session_is_registered("admin"))) + $fflteam_id=$myteam->getFFLTeamID(); $thisTeam = new FFLTeam($fflteam_id); *************** *** 377,383 **** $this->_fflteam_id = $fflteam_id; ! $result = mysql_query($sql) or die (mysql_error()); } ?> <div class="success">Starting lineup successfully saved.</div><p> --- 379,392 ---- $this->_fflteam_id = $fflteam_id; ! $result = mysql_query($sql) or die (mysql_error()); + + } + + $sql2 = "UPDATE fflteams SET timestamper=NULL WHERE fflteam_id=$fflteam_id"; + + $result2 = mysql_query($sql2) or die (mysql_error()); + ?> <div class="success">Starting lineup successfully saved.</div><p> |