[Cs-content-commits] SF.net SVN: cs-content:[474] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2010-05-18 13:29:48
|
Revision: 474 http://cs-content.svn.sourceforge.net/cs-content/?rev=474&view=rev Author: crazedsanity Date: 2010-05-18 13:29:42 +0000 (Tue, 18 May 2010) Log Message: ----------- Minor change to remove a PHP warning. Modified Paths: -------------- trunk/1.0/contentSystem.class.php Modified: trunk/1.0/contentSystem.class.php =================================================================== --- trunk/1.0/contentSystem.class.php 2010-05-14 17:14:14 UTC (rev 473) +++ trunk/1.0/contentSystem.class.php 2010-05-18 13:29:42 UTC (rev 474) @@ -550,7 +550,7 @@ //pull a list of the files. $dirContents = $this->arrange_directory_contents(); - if(count($dirContents['shared'])) { + if(isset($dirContents['shared']) && count($dirContents['shared'])) { foreach($dirContents['shared'] as $section => $template) { $this->add_template($section, $template); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |