[SPIP] v3.2.12 -> v3.2.12 - Reinstallation avec le spip_loader
[lhc/web/www.git] / www / ecrire / inc / math.php
old mode 100644 (file)
new mode 100755 (executable)
index fcc0b44..ce841dc
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2017                                                *
+ *  Copyright (c) 2001-2019                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -60,7 +60,7 @@ function produire_image_math($tex) {
 
                // MathML
                if ($GLOBALS['traiter_math'] == 'mathml') {
-                       return join(file("$fichier"), "");
+                       return implode("", file($fichier));
                } // TeX
                else {
                        list(, , , $size) = @getimagesize($fichier);