Skip to content
Extraits de code Groupes Projets
Valider 4ccfda6b rédigé par marcimat's avatar marcimat
Parcourir les fichiers

Des corrections suite au passage de Rector.

parent 35c4c206
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -316,7 +316,7 @@ function prepare_donnees_post($donnees, $boundary = '') { ...@@ -316,7 +316,7 @@ function prepare_donnees_post($donnees, $boundary = '') {
if (is_string($boundary) and strlen($boundary)) { if (is_string($boundary) and strlen($boundary)) {
// fabrique une chaine HTTP pour un POST avec boundary // fabrique une chaine HTTP pour un POST avec boundary
$entete = "Content-Type: multipart/form-data; boundary=$boundary\r\n"; $entete = "Content-Type: multipart/form-data; boundary=$boundary\r\n";
$chaine = []; $chaine = '';
if (is_array($donnees)) { if (is_array($donnees)) {
foreach ($donnees as $cle => $valeur) { foreach ($donnees as $cle => $valeur) {
if (is_array($valeur)) { if (is_array($valeur)) {
......
...@@ -21,8 +21,8 @@ if (!defined('_ECRIRE_INC_VERSION')) { ...@@ -21,8 +21,8 @@ if (!defined('_ECRIRE_INC_VERSION')) {
} }
include_spip('inc/rechercher'); include_spip('inc/rechercher');
if (!defined('_DELAI_CACHE_resultats')) { if (!defined('_DELAI_CACHE_RESULTATS')) {
define('_DELAI_CACHE_resultats', 600); define('_DELAI_CACHE_RESULTATS', 600);
} }
/** /**
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter