forked from Wavyzz/dolibarr
Fix phpcs
This commit is contained in:
@@ -10784,7 +10784,7 @@ function getDictionaryValue($tablename, $field, $id, $checkentity = false, $rowi
|
|||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql) {
|
if ($resql) {
|
||||||
while ($obj = $db->fetch_object($resql)) {
|
while ($obj = $db->fetch_object($resql)) {
|
||||||
$dictvalues[$obj->{$rowidfield}] = $obj; // $obj is stdClass
|
$dictvalues[$obj->$rowidfield] = $obj; // $obj is stdClass
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
|
|||||||
Reference in New Issue
Block a user