Skip to content
Snippets Groups Projects
Commit eae7e380 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch 'hotline_fix_domain_in_articles' into 'hotline_6.52'

Hotline fix domain in articles

See merge request !394
parents 43d52ed6 a2ecca45
Branches
Tags
2 merge requests!397Master,!395Hotline 6.52
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment