Browse Source

fix: Suppression de la globale `spip_ecran` disparue.

Refs: spip/spip#5279
remotes/checkIfPRContentChanged-1661179917262514544/master
Matthieu Marcillaud 2 months ago
parent
commit
8428279961
  1. 2
      formulaires/editer_depot.php

2
formulaires/editer_depot.php

@ -72,7 +72,7 @@ function formulaires_editer_depot_traiter_dist($id_depot, $redirect) {
function depots_edit_config(array $row): array {
$config = [];
$config['lignes'] = ($GLOBALS['spip_ecran'] == 'large') ? 8 : 5;
$config['lignes'] = 8;
$config['langue'] = $GLOBALS['spip_lang'];
return $config;

Loading…
Cancel
Save