aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/GenericModel.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/Models/GenericModel.php
parent4ee5f0d9dd40b3baa2e27889a579dc7852cbfd6c (diff)
dropped pcmcia controller, added generic host controller with subtype
Diffstat (limited to 'h-source/Application/Models/GenericModel.php')
-rw-r--r--h-source/Application/Models/GenericModel.php2
1 files changed, 1 insertions, 1 deletions
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 .= "<div class='viewall_popup_menu_status_item'>".$value."</div>\n";
$count++;