mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
Standardize and update code
This commit is contained in:
@@ -194,9 +194,10 @@ function dol_print_file($langs,$filename,$searchalt=0)
|
||||
*/
|
||||
function dol_print_object_info($object, $usetable=0)
|
||||
{
|
||||
global $langs,$db;
|
||||
$langs->load("other");
|
||||
$langs->load("admin");
|
||||
global $langs, $db;
|
||||
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array('other', 'admin'));
|
||||
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user