Changeset 7454

Show
Ignore:
Timestamp:
03/21/08 18:11:47 (7 months ago)
Author:
ryan
Message:

Fix parens in walker. Props hailin.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/classes.php

    r7431 r7454  
    504504 
    505505                $child = $children_elements[$i]; 
    506                 if ($root->$parent_field == $child->$parent_field ) 
     506                if ($root->$parent_field == $child->$parent_field ) { 
    507507                    $top_level_elements[] = $child; 
    508508                    array_splice( $children_elements, $i, 1 ); 
    509509                    $i--; 
     510                } 
    510511            } 
    511512        }