aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Alberto Guzmán García <ark74>2017-04-15 13:43:32 +0000
committerLuis Alberto Guzmán García <ark74>2017-04-15 13:43:32 +0000
commit22670c8c96c46059bd94ef68fabd9728474dc72c (patch)
tree4abf9868f76f7def30d7bb9dada6699703047328
parent78d649395a72e8ac1e07d8ae751890a674067ca9 (diff)
Add permalink @LauraMorales
-rw-r--r--h-source/Application/Controllers/DownloadController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php
index d302ab5..b221095 100644
--- a/h-source/Application/Controllers/DownloadController.php
+++ b/h-source/Application/Controllers/DownloadController.php
@@ -157,6 +157,7 @@ class DownloadController extends BaseController
$xml .= "\t\t<description><![CDATA[".$row['hardware']['description']."]]></description>\n";
$xml .= "\t\t<link>".$this->baseUrl."/".Hardware::getControllerFromType($type)."/view/".$this->lang."/".$row['hardware']['id_hard']."/".encodeUrl($row['hardware']['model'])."</link>\n";
+ $xml .= "\t\t<permalink>".$this->baseUrl."/".Hardware::getControllerFromType($type)."/view/".$this->lang."/".$row['hardware']['id_hard']."</permalink>\n";
$xml .= "\t\t<created_by>".$this->baseUrl."/".Hardware::getControllerFromType($type)."/history/".$this->lang."/".$row['hardware']['id_hard']."</created_by>\n";
$xml .= "\t</device>\n";
@@ -271,4 +272,4 @@ class DownloadController extends BaseController
{
$this->printXml($lang, array('type'=>'host-controller','-deleted'=>'no'));
}
-} \ No newline at end of file
+}