[pLog-svn] r691 - plog/trunk/class/dao/status
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sat Jan 8 17:01:46 GMT 2005
Author: oscar
Date: 2005-01-08 17:01:46 +0000 (Sat, 08 Jan 2005)
New Revision: 691
Modified:
plog/trunk/class/dao/status/genericstatuslist.class.php
Log:
fixed a bug in GenericStatusList that had gone unnoticed for a long while...
Modified: plog/trunk/class/dao/status/genericstatuslist.class.php
===================================================================
--- plog/trunk/class/dao/status/genericstatuslist.class.php 2005-01-08 16:57:00 UTC (rev 690)
+++ plog/trunk/class/dao/status/genericstatuslist.class.php 2005-01-08 17:01:46 UTC (rev 691)
@@ -30,7 +30,7 @@
}
foreach( $constants as $constant => $value ) {
- if( substr( $constant, 0, 12 ) == $prefix && $constant != $statusAllId ) {
+ if( substr( $constant, 0, strlen($prefix)) == $prefix && $constant != $statusAllId ) {
$constant = strtolower($constant);
$statusList[ "$constant" ] = $value;
}
More information about the pLog-svn
mailing list