/themes/aqua/renderer.php
/themes/cool/renderer.php
/themes/default/renderer.php
+! Changed Tag types in reports_classes to be the same as defined in types.inc. Suitable height=5
+$ /reporting/includes/reports_classes.inc
12-Oct-2009 Janusz Dobrowolski
# Fixed sql injection vulnerability on some php/mysql configurations
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;
}