compatibilité PHP 8 : pas de variable non déclarée au préalable...
This commit is contained in:
parent
1c6354b409
commit
368469bd3e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ function gamutable_affichage_final($flux) {
|
|||
if ($p) {
|
||||
$url_relecture = parametre_url(self(), 'var_mode', 'gamutable', '&');
|
||||
$label = "Mode gamuTable";
|
||||
$js .= "jQuery('#minibando_bouton_debug ul').append('<li><a class=\"spip-admin-boutons \" href=\"$url_relecture\">$label</a></li>');";
|
||||
$js = "jQuery('#minibando_bouton_debug ul').append('<li><a class=\"spip-admin-boutons \" href=\"$url_relecture\">$label</a></li>');";
|
||||
$js = "jQuery(function(){ $js });";
|
||||
$js = "<script>$js</script>";
|
||||
$flux = substr_replace($flux, $js, $p, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue