Bug report

If a linodef_bueditor.help.ini file is like this:

; $Id$
[advanced help settings]
line break = TRUE

[usage]
title = "How to use Linodef - BUEditor"
parent = linodef%editors
weight = 0

[insert-button]
title = "Insert buttons that supports Linodef filter in BUEditor"
parent = usage
weight = 0

the modules name is listed at the Advanced Help overview nevertheless. By clicking on it the following error is display because no topics are defined

    * warning: uasort() [function.uasort]: The argument should be an array in modulepath/advanced_help/advanced_help.module on line 241.
    * warning: Invalid argument supplied for foreach() in modulepath/advanced_help/advanced_help.module on line 243.

Feature request

To prevent this error, a module only with child topics of other modules shouldn't be listed on the Advanced help page.

Comments

merlinofchaos’s picture

Status: Active » Fixed

It's actually a bit difficult to auto check to see if there are no top level topics (or, rather, it's a bit intensive, as you have to scan every topic). Instead, I added a 'hide' directive to the global structure to remove your module from the list. This would be recommended in cases like this.

Roi Danton’s picture

Thx! Using HEAD this works excellent.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

markus_petrux’s picture

Hi,

I was about to report this same issue, but I noticed it's already fixed in HEAD. Any change to get a new release (6.x-1.2) with latest bug fixes included?