From de9fcc4eb6b5e51b01ae14ccda509a33793d6669 Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Fri, 16 Feb 2007 18:31:53 +0000 Subject: [PATCH] "un bug qui interrompait reguliemerent le debugger dans certains cas" --- ecrire/public/parametrer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/public/parametrer.php b/ecrire/public/parametrer.php index fa154c0c70..d6976ade05 100644 --- a/ecrire/public/parametrer.php +++ b/ecrire/public/parametrer.php @@ -341,7 +341,7 @@ function public_parametrer_dist($fond, $local='', $cache='') { if ($GLOBALS['var_mode'] == 'debug') { include_spip('public/debug'); - debug_dumpfile ($page['texte'], $fonc, 'resultat'); + debug_dumpfile (strlen($page['texte'])?$page['texte']:" ", $fonc, 'resultat'); } $page['contexte'] = $local; -- GitLab