Browse Source

Meilleure compat avec le core 3.3

v3
RastaPopoulos 2 years ago
parent
commit
591611faea
  1. 7
      public/spip_bonux_criteres.php

7
public/spip_bonux_criteres.php

@ -176,8 +176,11 @@ function calcul_critere_fonctions($func, $idb, &$boucles, $crit) {
}
}
if (!function_exists('critere_fusion_supprimer_dist')) {
function critere_fusion_supprimer_dist($idb, &$boucles, $crit){
if (
(!defined('_SPIP_VERSION_ID') or _SPIP_VERSION_ID < 30300)
and !function_exists('critere_fusion_supprimer')
) {
function critere_fusion_supprimer($idb, &$boucles, $crit){
$boucles[$idb]->group = array();
}
}

Loading…
Cancel
Save