From ea0f13c140f6444d4b0da9e38e1c27c9004b6184 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 2 Aug 2012 00:44:36 +0000 Subject: dropped pcmcia controller, added generic host controller with subtype --- h-source/Application/Include/vendorTranslations.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'h-source/Application/Include/vendorTranslations.php') 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( -- cgit v1.2.3