Skip to content
Snippets Groups Projects

Hotline fix domain in articles

Merged Ghislain Loas requested to merge hotline_fix_domain_in_articles into hotline_6.52
Compare and
+ 2
2
Preferences
Compare changes
@@ -88,7 +88,6 @@ class ZendAfi_Form_Admin_News extends ZendAfi_Form {
['label' => $this->_('Autoriser les commentaires d\'internautes (Mode blog) ?')])
->addElement('checkbox', 'indexation',
['label' => $this->_('Indexer l\'article dans le catalogue ?')])
->addElement('domainSelect', 'domaine_ids')
->addDisplayGroup([
'titre',
@@ -219,7 +218,8 @@ EOT;
protected function addDomainIndexation() {
if (defined('DEVELOPMENT'))
return $this->addDisplayGroup(['domaine_ids'], 'domains_set', ['legend' => $this->_('Indexation')]);
return $this->addElement('domainSelect', 'domaine_ids')
->addDisplayGroup(['domaine_ids'], 'domains_set', ['legend' => $this->_('Indexation')]);
return $this;
}