[Cs-content-commits] SF.net SVN: cs-content:[432] trunk/1.0/cs_session.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-12 15:41:20
|
Revision: 432 http://cs-content.svn.sourceforge.net/cs-content/?rev=432&view=rev Author: crazedsanity Date: 2009-08-12 15:41:12 +0000 (Wed, 12 Aug 2009) Log Message: ----------- Cleanup some PHP errors/warnings. Modified Paths: -------------- trunk/1.0/cs_session.class.php Modified: trunk/1.0/cs_session.class.php =================================================================== --- trunk/1.0/cs_session.class.php 2009-08-12 15:40:46 UTC (rev 431) +++ trunk/1.0/cs_session.class.php 2009-08-12 15:41:12 UTC (rev 432) @@ -40,7 +40,7 @@ //TODO: need a setting somewhere that says what the name of this var should be, // instead of always forcing "uid". $this->uid = 0; - if($_SESSION['uid']) { + if(isset($_SESSION['uid']) && $_SESSION['uid']) { $this->uid = $_SESSION['uid']; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |