[spip-dev] gaffe a la syntaxe join() !

Suite au bug dans l'aide, réponse possible dans le manuel PHP :

"
join

(PHP 3, PHP 4 >= 4.0.0)

join -- Join array elements with a string

Description

string join (string glue, array pieces)
"

Et non pas string join (array pieces, string glue),
qui est tout de même plus ou moins toléré (selon les
versions et l'âge du capitaine ;-)).

Donc dans aide-droite.php3, remplacer :
  $html = join(file($fichier_aide), "");
par
  $html = join("", file($fichier_aide));

a+

@ Antoine Pitrou (pitrou@free.fr) :

Donc dans aide-droite.php3, remplacer :
  $html = join(file($fichier_aide), "");
par
  $html = join("", file($fichier_aide));

C'est fait. (Flemmard!)

-- Fil