Skip to content
Snippets Groups Projects
Commit dd4b8628 authored by llaffont's avatar llaffont
Browse files

Récupération résumé Editeur: ajout cas potter 7 qui ne fonctionnait pas

parent 81bca72a
No related merge requests found
......@@ -66,6 +66,8 @@ class Class_WebService_Fnac extends Class_WebService_Abstract {
$pos = striPos($html, ">", $pos) + 1;
$posfin = strPos($html, "<p>", $pos);
$posfin2 = strPos($html, "</div>", $pos);
$posfin = $posfin < $posfin2 ? $posfin : $posfin2;
$resume = substr($html, $pos, ($posfin-$pos));
return trim($resume);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment