Merge pull request #27638 from mdeweerd/qual/admin_lib
Qual: Cleanup method to ignore misspelled key
This commit is contained in:
commit
c78cd05818
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