aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Desktop/Search/results.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Desktop/Search/results.php')
-rw-r--r--h-source/Application/Views/Desktop/Search/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Application/Views/Desktop/Search/results.php b/h-source/Application/Views/Desktop/Search/results.php
index b8f3ce3..2fb128b 100644
--- a/h-source/Application/Views/Desktop/Search/results.php
+++ b/h-source/Application/Views/Desktop/Search/results.php
@@ -39,7 +39,7 @@
<div class="search_result_item">
<div class="first_level">
- <div class="search_result_item_left"><?php echo gtext("model name");?>:</div> <div class="search_result_item_right"><b><a href="<?php echo $this->baseUrl."/".MyStrings::$reverse[$row['hardware']['type']]."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></b></div>
+ <div class="search_result_item_left"><?php echo gtext("model name");?>:</div> <div class="search_result_item_right"><b><a href="<?php echo $this->baseUrl."/".Hardware::getControllerFromType($row['hardware']['type'])."/view/$lang/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model']);?>"><?php echo $row['hardware']['model'];?></a></b></div>
</div>
<?php if ( strcmp($row['hardware']['other_names'],'') !== 0 ) { ?>
<div class="first_level">