[Cs-content-commits] SF.net SVN: cs-content:[389] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-06-08 19:12:28
|
Revision: 389
http://cs-content.svn.sourceforge.net/cs-content/?rev=389&view=rev
Author: crazedsanity
Date: 2009-06-08 19:12:26 +0000 (Mon, 08 Jun 2009)
Log Message:
-----------
Fix PHP error/warning/notice about "this->session" being undefined.
Modified Paths:
--------------
trunk/1.0/contentSystem.class.php
Modified: trunk/1.0/contentSystem.class.php
===================================================================
--- trunk/1.0/contentSystem.class.php 2009-06-08 03:49:30 UTC (rev 388)
+++ trunk/1.0/contentSystem.class.php 2009-06-08 19:12:26 UTC (rev 389)
@@ -779,7 +779,7 @@
}
}
- if(is_object($this->session)) {
+ if(isset($this->session) && is_object($this->session)) {
$page->session =& $this->session;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|