X-Git-Url: http://git.cyclocoop.org/?p=ptitvelo%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fpublic%2Fassembler.php;h=34f4fba521edd00c26834f975d67d0268ce312d4;hp=9c16bfe5225850891ba001f8ab95e6ace5047a46;hb=e847eea4a82a7396dd0abf860f9b30d654f38629;hpb=d686c3e22e97dd46ef42bcd0f138c65083f8f232 diff --git a/www/ecrire/public/assembler.php b/www/ecrire/public/assembler.php index 9c16bfe..34f4fba 100644 --- a/www/ecrire/public/assembler.php +++ b/www/ecrire/public/assembler.php @@ -433,7 +433,7 @@ function inclure_modele($type, $id, $params, $lien, $connect='', $env=array()) { $params = array_filter(explode('|', $params)); if ($params) { list(,$soustype) = each($params); - $soustype = strtolower($soustype); + $soustype = strtolower(trim($soustype)); if (in_array($soustype, array('left', 'right', 'center', 'ajax'))) { list(,$soustype) = each($params);