Changeset 29852 for trunk/index.php


Ignore:
Timestamp:
Sep 30, 2014, 11:07:59 PM (10 years ago)
Author:
rvelices
Message:

bug 3148: quick search fix html special chars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r29804 r29852  
    246246    elseif (!empty($page['qsearch_details']['unmatched_terms']))
    247247    {
    248       $template->assign( 'no_search_results', array_map($page['qsearch_details']['unmatched_terms'], 'htmlspecialchars'));
     248      $template->assign( 'no_search_results', array_map('htmlspecialchars', $page['qsearch_details']['unmatched_terms']));
    249249    }
    250250  }
Note: See TracChangeset for help on using the changeset viewer.