Fix var not defined

This commit is contained in:
Laurent Destailleur
2022-01-13 19:07:05 +01:00
parent f35fee0081
commit 7ccb1c94a1

View File

@@ -1734,6 +1734,8 @@ class Setup extends DolibarrApi
{
$list = array();
$limit = 0;
$sql = "SELECT e.rowid, e.rowid as ref, e.label, e.address, e.zip, e.town, e.status";
$sql .= " FROM ".MAIN_DB_PREFIX."establishment as e";
$sql .= " WHERE e.entity IN (".getEntity('establishment').')';