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/Models/GenericModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'h-source/Application/Models/GenericModel.php') diff --git a/h-source/Application/Models/GenericModel.php b/h-source/Application/Models/GenericModel.php index c4c69ab..3a0f8fa 100644 --- a/h-source/Application/Models/GenericModel.php +++ b/h-source/Application/Models/GenericModel.php @@ -90,7 +90,7 @@ class GenericModel extends Model_Tree { { if (!in_array($field,$listArray)) { - $value = getTranslationFunction($field) !== 'gtext' ? gtext(call_user_func(getTranslationFunction($field),$value)) : gtext($value); + $value = call_user_func(getTranslationFunction($field),$value); $html .= "
".$value."
\n"; $count++; -- cgit v1.2.3