1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Download: Fix for SEF Url in search results.

This commit is contained in:
Cameron 2017-04-10 15:07:01 -07:00
parent 1b1de9cda7
commit ca0d5d10d0

View File

@ -71,7 +71,7 @@ class download_search extends e_search // include plugin-folder in the name.
$datestamp = $tp -> toDate($row['download_datestamp'], "long");
$res['link'] = e107::getUrl()->create('download/view/item', array('id'=>$row['download_id'],'name'=>vartrue($row['download_sef'],'--no-sef-set--')));
$res['link'] = e107::url('download', 'item', $row);
$res['pre_title'] = $tp->toHtml($row['download_category_name'],false,'TITLE_PLAIN')." | ";
$res['title'] = $row['download_name'];
$res['pre_summary'] = "<div class='smalltext'><a href='download.php'>".LAN_197."</a> -> <a href='download.php?list.".$row['download_category_id']."'>".$row['download_category_name']."</a></div>";