Qual: Cleanup method to ignore misspelled key
# Qual: Cleanup method to ignore misspelled key With the method to ignore lines, the code can be cleaned up to ignore the spelling issue.
This commit is contained in:
parent
f3d97a8a13
commit
eb8960bcd1
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,5 @@
|
|||
|
||||
$objMod->dictionaries = $objMod->{"dictionnaries"}; // For backward compatibility
|
||||
if (empty($objMod->dictionaries) && !empty($objMod->{"dictionnaries"})) {
|
||||
print '<a href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&id_entrepot='.$entrepotstatic->id.'&action=transfert&pdluoid='.$pdluo->id.'">';
|
||||
$reponsesadd = str_split($obj->reponses);
|
||||
$sql .= " SET reponses = '".$db->escape($reponsesadd)."'";
|
||||
|
|
|
|||
|
|
@ -1379,9 +1379,8 @@ function complete_dictionary_with_modules(&$taborder, &$tabname, &$tablib, &$tab
|
|||
|
||||
// phpcs:disable
|
||||
// Complete the arrays &$tabname,&$tablib,&$tabsql,&$tabsqlsort,&$tabfield,&$tabfieldvalue,&$tabfieldinsert,&$tabrowid,&$tabcond
|
||||
// Note: "diction"."naries" to prevent codespell from detecting a spelling error.
|
||||
if (empty($objMod->dictionaries) && !empty($objMod->{"dicton"."naries"})) {
|
||||
$objMod->dictionaries = $objMod->{"diction"."naries"}; // For backward compatibility
|
||||
if (empty($objMod->dictionaries) && !empty($objMod->{"dictionnaries"})) {
|
||||
$objMod->dictionaries = $objMod->{"dictionnaries"}; // For backward compatibility
|
||||
}
|
||||
// phpcs:enable
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue