[pLog-svn] r3739 - plog/trunk

Jon Daley plogworld at jon.limedaley.com
Wed Jul 19 18:03:05 GMT 2006


 	Why do we have session stuff in rss feeds?

On Wed, 19 Jul 2006, mark at devel.lifetype.net wrote:

> Author: mark
> Date: 2006-07-19 16:55:02 +0000 (Wed, 19 Jul 2006)
> New Revision: 3739
>
> Modified:
>   plog/trunk/rss.php
> Log:
> Fixed a error notice in PHP5.
>
> Modified: plog/trunk/rss.php
> ===================================================================
> --- plog/trunk/rss.php	2006-07-19 16:31:56 UTC (rev 3738)
> +++ plog/trunk/rss.php	2006-07-19 16:55:02 UTC (rev 3739)
> @@ -27,7 +27,7 @@
>     //
>     SessionManager::Init();
>     $session = HttpVars::getSession();
> -    if( $session["SessionInfo"] == "" ) {
> +    if( empty( $session["SessionInfo"] ) ) {
>         $session["SessionInfo"] = new SessionInfo();
>         HttpVars::setSession( $session );
>     }
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

If you cannot convince a man of the self-evident
truths of logic, then all you can do is get
a big stick and beat him until he submits.


More information about the pLog-svn mailing list