In some cases domain_prefix module has tried to include "domain_prefix.admin.inc" file more than one time.

Comments

bartoll’s picture

Status: Active » Fixed
StatusFileSize
new412 bytes
new773 bytes

Here is fix this bug

agentrickard’s picture

Status: Fixed » Needs work

@bartoll

Issues can only be marked fixed if the code has been tested and committed.

Please describe what "cases" trigger this problem. I have never seen it before and don't have time to chase it down.

The correct fix is actually to use module_load_include().

http://api.drupal.org/api/drupal/includes--module.inc/function/module_lo...

gdud’s picture

StatusFileSize
new513 bytes

I met this problem during simpletest run.

Using module_load_include() is better solution of course.

I attached new patch which was produced by 'git diff' command.

agentrickard’s picture

Status: Needs work » Needs review

Thanks.

agentrickard’s picture

Project: Domain » Domain Prefix
Version: 6.x-2.13 »
Status: Needs review » Patch (to be ported)

Committed to 6.x. This needs to be applied in 7.x.