Browse Source

str_ireplace fait le job

bien plus légèrement
pull/4/head
JLuc 2 years ago committed by Gitea
parent
commit
0c147d11e3
  1. 3
      stats_pipelines.php

3
stats_pipelines.php

@ -100,7 +100,8 @@ function stats_formulaire_admin($flux) {
'popularite' => $l[1],
'statistiques' => $l[2],
));
$flux['data'] = preg_replace('%(<!--extra-->)%is', $btn . '$1', $flux['data']);
$x='<!--extra-->';
$flux['data'] = str_ireplace($x, $btn.$x, $flux['data']);
}
}

Loading…
Cancel
Save