Browse Source

Eviter une notice

gestion_archives
Eric Lupinacci 2 years ago
parent
commit
35e5dbfca3
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      base/galactic_contrib.php

+ 2
- 7
base/galactic_contrib.php View File

@ -5,11 +5,8 @@ if (!defined('_ECRIRE_INC_VERSION')) {
}
function galactic_contrib_declarer_champs_extras($champs = array()) {
// Table : spip_articles
if (!is_array($champs['spip_articles'])) {
$champs['spip_articles'] = array();
}
// Table : spip_articles
$champs['spip_articles']['autodoc'] = array(
'saisie' => 'case',
'options' => array(
@ -30,9 +27,7 @@ function galactic_contrib_declarer_champs_extras($champs = array()) {
),
);
if (!is_array($champs['spip_documents'])) {
$champs['spip_documents'] = array();
}
// Table : spip_documents
$champs['spip_documents']['etat'] = array(
'saisie' => 'selection',
'options' => array(


Loading…
Cancel
Save