# Qual: Fix spelling in htdocs/core/class/html.form.class.php .
Most changes are in the text, and some translations made of comments.
is changed to , and var was unused.
'clas=tagd is changed to class=tagd', slight possibility of visual impact.
is changed to , but used locally in foreach loops.
# Qual: Fix spelling in commonobject.class.php.
Most corrections are in comments.
Variable was changed to and is local to the file.
Some comments were translated.
Variable was changed to , used locally.
# Qual: Fix spelling of admin code.
Mostly changes in the comments.
Some french text was modified to not trigger a bad spelling.
htdocs/admin/contract.php has a change to $langs->trans(Activated)
which probably fixes a bug.
htdocs/admin/system/xcache.php used ->trans(Recommanded)
but the proper key is ->trans(Recommended).
# Fix: Change TCPDF::_out to public because of pdf.lib.php
TCPDF::_out is used 2 times as ->_out(...) in htdocs/core/lib/pdf.lib.php.
Changing php.lib.php requires more analysis. Making TCPDF::_out public is
the quick solution.
# Fix: Make some scripts with shebang executable in git.
Make some scripts executable according to git.
This can help running them after checkout.
It also helps with future automatic checks.
# Fix: formmail - add_attached_files - argument name consistency
Phan determined suspicious naming as arg #2 to add_attached_files is while
that was the name for the first argument by the caller.
Also, on examination, only the first parameter is needed as add_attached_files
handles the other two in the same manner.
# Fix: files.lib.php - Add optional sort parameter to array_multisort for static tool check
Phan flags the call to array_multisort as suspicious - adding the optional sort parameter
avoids this.
* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked
* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked
* Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>