SPIP 3.2 est compatible vieille version de PHP, donc autant que bonux le

soit (Clyde sur contrib).
v3 v3.8.3
Maïeul 2 years ago
parent fc01934010
commit 752c39c06b

@ -123,20 +123,20 @@ function inc_exporter_csv_dist($titre, $resource, $options = []) {
if (!is_array($options)) {
$args = func_get_args();
$options = [];
foreach ([2 => 'delim', 3 => 'entetes', 4 => 'envoyer'] as $k => $option) {
foreach (array(2 => 'delim', 3 => 'entetes', 4 => 'envoyer') as $k => $option) {
if (!empty($args[$k])) {
$options[$option] = $args[$k];
}
}
}
$default_options = [
$default_options = array(
'delim' => ', ',
'entetes' => null,
'envoyer' => true,
'charset' => null,
'callback' => null,
];
);
$options = array_merge($default_options, $options);
$filename = preg_replace(',[^-_\w]+,', '_', translitteration(textebrut(typo($titre))));

@ -1,7 +1,7 @@
<paquet
prefix="spip_bonux"
categorie="outil"
version="3.8.2"
version="3.8.3"
etat="stable"
compatibilite="[3.0.0;3.2.*]"
logo="img_pack/spip-bonux.png"

Loading…
Cancel
Save