From b4c0ae37736ee36874a150c9e452225ab54997ea Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 25 Aug 2011 13:03:29 +0000 Subject: [PATCH] correction substr --- www/pages/annonces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pages/annonces.php b/www/pages/annonces.php index a95af26dc..412bd4cdd 100644 --- a/www/pages/annonces.php +++ b/www/pages/annonces.php @@ -22,7 +22,7 @@ $objAnnonces = new Annonces($annonces); if (isset($_GET['q']) && $_GET['q']=='ajax'){ require_once '../includes/siren.php'; $ann = $annonces[0]; - echo substr($objAnnonces->getAnnonceTexte($ann), 1000); + echo substr($objAnnonces->getAnnonceTexte($ann), 0, 1000); exit; }