Update api_setup.class.php

This commit is contained in:
Laurent Destailleur 2021-09-28 13:10:46 +02:00 committed by GitHub
parent 6b820ae4c5
commit 1199782d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1298,7 +1298,6 @@ class Setup extends DolibarrApi
{
$list = array();
//TODO link with multicurrency module
$sql = "SELECT t.id, t.code, t.libelle, t.active, t.module";
$sql .= " FROM ".MAIN_DB_PREFIX."c_effectif as t";
$sql .= " WHERE t.active = ".((int) $active);