Update api_setup.class.php

This commit is contained in:
Laurent Destailleur
2021-09-28 12:59:00 +02:00
committed by GitHub
parent b795d6b430
commit 4f660343aa

View File

@@ -1239,7 +1239,6 @@ class Setup extends DolibarrApi
{
$list = array();
//TODO link with multicurrency module
$sql = "SELECT t.rowid, t.code, t.label,t.short_label, t.active, t.scale, t.unit_type";
$sql .= " FROM ".MAIN_DB_PREFIX."c_units as t";
$sql .= " WHERE t.active = ".((int) $active);