[pLog-svn] r4821 - plog/branches/lifetype-1.2/class/file
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Thu Feb 22 14:17:18 EST 2007
Author: oscar
Date: 2007-02-22 14:17:18 -0500 (Thu, 22 Feb 2007)
New Revision: 4821
Modified:
plog/branches/lifetype-1.2/class/file/file.class.php
Log:
Fixed a bug detected through one of those annoying (but not this time) PHP notices.
Modified: plog/branches/lifetype-1.2/class/file/file.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/file/file.class.php 2007-02-22 19:02:45 UTC (rev 4820)
+++ plog/branches/lifetype-1.2/class/file/file.class.php 2007-02-22 19:17:18 UTC (rev 4821)
@@ -82,7 +82,7 @@
$contents = file( $this->_fileName );
- for( $i = 0, $elements = count( $contents ); $i < total; $i++ )
+ for( $i = 0, $elements = count( $contents ); $i < $elements; $i++ )
$contents[$i] = trim( $contents[$i] );
return $contents;
More information about the pLog-svn
mailing list