correction substr

This commit is contained in:
Michael RICOIS 2011-08-25 13:03:29 +00:00
parent a1577afac2
commit b4c0ae3773

View File

@ -22,7 +22,7 @@ $objAnnonces = new Annonces($annonces);
if (isset($_GET['q']) && $_GET['q']=='ajax'){ if (isset($_GET['q']) && $_GET['q']=='ajax'){
require_once '../includes/siren.php'; require_once '../includes/siren.php';
$ann = $annonces[0]; $ann = $annonces[0];
echo substr($objAnnonces->getAnnonceTexte($ann), 1000); echo substr($objAnnonces->getAnnonceTexte($ann), 0, 1000);
exit; exit;
} }