On 10 Jul 2013 19:35, "Callum Macrae" <notifications@github.com> wrote:
>
> In phpBB/includes/model/api/forum.php:
>
> > + }
> > + return $forums;
> > + }
> > +
> > + /** @TODO: Something for nestedset? */
> > + /** @TODO: Optimize using left and right ids instead of checking
every node until the correct one is found */
> > + /**
> > + * Adds subforums in the recursive structure. The forum entity
currently being added is added to
> > + * the forum entity with the forum_id corresponding to the parent_id
> > + * @param $forum phpbb_model_entity_forum The forum entity to add
> > + * @param $forums array An array of forum entities
> > + * @return array The new array with subforums added
> > + */
> > + public function add_subforum($forum, $forums)
> > + {
> > + for ($i = 0; $i < count($forums);$i++)
>
> You're missing a space after the second semi-colon
>
> —
> Reply to this email directly or view it on GitHub.

I'm gonna rewrite that function anyway >.<