Skip to content

Commit

Permalink
Fix wrong static object call
Browse files Browse the repository at this point in the history
Originally I added this function to CommonObject, but it looked to me that using DoliDB as recipient is more logical.
However, I forgot to adapt this change during the copy/paste. Sorry.
  • Loading branch information
omogenot authored Nov 17, 2024
1 parent c75c184 commit 4de2b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/db/DoliDB.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,6 @@ public function getRows($sql)
*/
static public function checkTableName($table_name)
{
return CommonObject::$_deprecated_table_names[$table_name] ?? $table_name;
return DoliDB::$_deprecated_table_names[$table_name] ?? $table_name;
}
}

0 comments on commit 4de2b81

Please sign in to comment.