aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/vendorTranslations.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-08-02 00:44:36 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-08-02 00:44:36 +0000
commitea0f13c140f6444d4b0da9e38e1c27c9004b6184 (patch)
treec95d58a3a74f5c287040042f030dba6dd34c4012 /h-source/Application/Include/vendorTranslations.php
parent4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff)
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Include/vendorTranslations.php')
-rw-r--r--h-source/Application/Include/vendorTranslations.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/h-source/Application/Include/vendorTranslations.php b/h-source/Application/Include/vendorTranslations.php
index 09d1298..6d5eb53 100644
--- a/h-source/Application/Include/vendorTranslations.php
+++ b/h-source/Application/Include/vendorTranslations.php
@@ -23,6 +23,11 @@ if (!defined('EG')) die('Direct access not allowed!');
//rewrite the vendor name
function betterVendor($string)
{
+ if ($string === 'undef')
+ {
+ return gtext($string);
+ }
+
$vendors = new VendorsModel();
$exceptions = array(