[pLog-svn] r7141 - plog/branches/lifetype-1.2/class/dao
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Oct 26 15:20:46 EDT 2011
Author: jondaley
Date: 2011-10-26 15:20:46 -0400 (Wed, 26 Oct 2011)
New Revision: 7141
Modified:
plog/branches/lifetype-1.2/class/dao/articlecategories.class.php
Log:
reverted revision 3582, I suspect Oscar didn't mean to check in this file, since it wasn't mentioned in the comments. Fixes http://bugs.lifetype.net/view.php?id=1649
Modified: plog/branches/lifetype-1.2/class/dao/articlecategories.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/articlecategories.class.php 2011-10-26 19:08:29 UTC (rev 7140)
+++ plog/branches/lifetype-1.2/class/dao/articlecategories.class.php 2011-10-26 19:20:46 UTC (rev 7141)
@@ -79,12 +79,10 @@
// there might be more than one in several different blogs...
$found = false;
- //while( !$found ) {
- foreach( $categories as $category ) {
- //$category = array_pop( $categories );
+ while( !$found ) {
+ $category = array_pop( $categories );
if( $blogId > -1 && $category->getBlogId() == $blogId ) {
$found = true;
- break;
}
}
More information about the pLog-svn
mailing list