FIx #yogosha5774
This commit is contained in:
parent
01eec2b919
commit
95de241245
@ -32,9 +32,7 @@ $error = 0;
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("bills", "accountancy"));
|
||||
|
||||
$mesg = '';
|
||||
$id = GETPOST('id', 'int');
|
||||
$rowid = GETPOST('rowid', 'int');
|
||||
$cancel = GETPOST('cancel', 'alpha');
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$cat_id = GETPOST('account_category', 'int');
|
||||
|
||||
@ -275,8 +275,10 @@ class FormAccounting extends Form
|
||||
if ($obj->rowid == $selected) {
|
||||
$out .= ' selected';
|
||||
}
|
||||
$out .= '>'.($maxlen ? dol_trunc($obj->type, $maxlen) : $obj->type);
|
||||
$out .= ' ('.$obj->range_account.')';
|
||||
$out .= '>';
|
||||
$titletoshow = dol_string_nohtmltag(($maxlen ? dol_trunc($obj->type, $maxlen) : $obj->type).' ('.$obj->range_account.')');
|
||||
$out .= dol_escape_htmltag($titletoshow);
|
||||
$out .= '</option>';
|
||||
$i++;
|
||||
}
|
||||
$out .= '</select>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user