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