diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index 4cabc169f..9a51ebfba 100644 --- a/setup/compiler.class.inc.php +++ b/setup/compiler.class.inc.php @@ -659,18 +659,20 @@ EOF; } // foreach module // Register custom zlists - $this->sMainPHPCode .= <<aCustomListsCodes)) { + $this->sMainPHPCode .= <<aCustomListsCodes as $sCustomListCode) { - // Note: HEREDOC used to ease finding of \MetaModel::RegisterZList() method usages - $this->sMainPHPCode .= <<aCustomListsCodes as $sCustomListCode) { + // Note: HEREDOC used to ease finding of \MetaModel::RegisterZList() method usages + $this->sMainPHPCode .= << 'Custom zlist $sCustomListCode', 'type' => 'attributes']); PHP; + } + $this->sMainPHPCode .= "\n"; } - $this->sMainPHPCode .= "\n"; // Compile the dictionaries -out of the modules //