Changed Tag types in reports_classes to be the same as defined in types.inc. Suitable...
[fa-stable.git] / reporting / includes / reports_classes.inc
index 530add3d1124cbd5e46fb5f391320fb0561a6535..5ff1c72a0ad8dc6adb9186581e542437b96ac5ae 100644 (file)
@@ -348,11 +348,11 @@ class Report
                                case 'ACCOUNTTAGS':
                                case 'DIMENSIONTAGS':
                                        if ($param->param_type == 'ACCOUNTTAGS')
-                                               $type = 0;
+                                               $type = TAG_ACCOUNT;
                                        else
-                                               $type = 1;
+                                               $type = TAG_DIMENSION;
                                        $sql = "SELECT id, name FROM ".TB_PREF."tags WHERE type=$type"; 
-                                       $st .= combo_input("PARAM_$index", '', $sql, 'id', 'name',array('spec_option'=>_("No tags"),'spec_id' => ALL_NUMERIC,'multi'=>true,'height'=>4));
+                                       $st .= combo_input("PARAM_$index", '', $sql, 'id', 'name',array('spec_option'=>_("No tags"),'spec_id' => ALL_NUMERIC,'multi'=>true,'height'=>5));
                                        break;
 
                        }