Changeset 1434


Ignore:
Timestamp:
Sep 26, 2010, 5:41:54 PM (10 years ago)
Author:
teymour
Message:

Bug mieux résolu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/templates/searchSuccess.php

    r1433 r1434  
    44    $args = '';
    55foreach(array_keys($selected) as $k) {
     6  if (!is_array($selected[$k]))
     7    continue;
    68  if ($args)
    79    $args .= '&';
    8   if (is_array($selected[$k]))
    9     $args.= "$k=".implode(',', array_keys($selected[$k]));
     10  $args.= "$k=".implode(',', array_keys($selected[$k]));
    1011}
    1112echo link_to('Etre alerté par mail lorsque de nouveaux résoltats sont publiés', 'alerte/create?filter='.urlencode($args).'&query='.urlencode($query));
Note: See TracChangeset for help on using the changeset viewer.