Seems to work better like this
authorJean-Marc Coic <jean-marc.coic@m4x.org>
Mon, 2 May 2005 20:55:00 +0000 (20:55 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:52 +0000 (23:28 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-622

include/exalead/exalead.parser.inc.php

index 35b62ad..27014d8 100644 (file)
@@ -271,12 +271,12 @@ class Exalead{
      $currentCategory->cref = $attrs['CREF'];
      if(isset($attrs['REFINEHREF'])) $currentCategory->refine_href = convert_url($attrs['REFINEHREF']);
      //if(isset($attrs['REFINEHREF'])) $this->currentCategory->refine_href = $attrs['REFINEHREF'];
-     if(isset($attrs['EXCLUDEHREF'])){
-       $currentCategory->exclude_href = $attrs['EXCLUDEHREF'];
-     }
-     else{
+     //if(isset($attrs['EXCLUDEHREF'])){
+     //  $currentCategory->exclude_href = $attrs['EXCLUDEHREF'];
+     //}
+     //else{
        $currentCategory->exclude_href = '_c=-'.$currentCategory->cref;
-     }
+     //}
      if(isset($attrs['RESETHREF'])){
        $currentCategory->reset_href = $attrs['RESETHREF'];
      }