aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/DownloadController.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Controllers/DownloadController.php')
-rw-r--r--h-source/Application/Controllers/DownloadController.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/DownloadController.php b/h-source/Application/Controllers/DownloadController.php
index c3a9661..cf5aa3c 100644
--- a/h-source/Application/Controllers/DownloadController.php
+++ b/h-source/Application/Controllers/DownloadController.php
@@ -63,9 +63,12 @@ class DownloadController extends BaseController
$xml .= "\t\t<id>".$row['hardware']['id_hard']."</id>\n";
$xml .= "\t\t<type>".$row['hardware']['type']."</type>\n";
- if ($type === 'notebook')
+ if ($type === 'notebook' or $type === 'printer')
{
$xml .= "\t\t<subtype>".$row['hardware']['subtype']."</subtype>\n";
+ }
+ if ($type === 'notebook')
+ {
$xml .= "\t\t<free_bios>".$row['hardware']['bios']."</free_bios>\n";
}