Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedIt'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.
Comment #2
Roi Danton CreditAttribution: Roi Danton commentedThx! Using HEAD this works excellent.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
markus_petrux CreditAttribution: markus_petrux commentedHi,
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?