[Openfirst-cvscommit] SF.net SVN: openfirst: [220] trunk/src/news/viewnews.php
Brought to you by:
xtimg
From: <ast...@us...> - 2007-04-06 21:23:23
|
Revision: 220 http://svn.sourceforge.net/openfirst/?rev=220&view=rev Author: astronouth7303 Date: 2007-04-06 14:23:22 -0700 (Fri, 06 Apr 2007) Log Message: ----------- Fixed admin check Modified Paths: -------------- trunk/src/news/viewnews.php Modified: trunk/src/news/viewnews.php =================================================================== --- trunk/src/news/viewnews.php 2007-04-06 21:13:01 UTC (rev 219) +++ trunk/src/news/viewnews.php 2007-04-06 21:23:22 UTC (rev 220) @@ -61,7 +61,7 @@ } else { echo("There is not yet any news.<br /><br />"); } - if($admin){ + if($ogUser->isAdmin()){ echo("<div align=center>[ <b><a href=\"$ogBasePath/news/admin\">Post News</a></b> ]</div>"); } return(0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |