mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-14 00:24:28 +01:00
Fix colorazione agente di default
This commit is contained in:
parent
c3001e4346
commit
0847751058
@ -131,10 +131,10 @@ switch ($resource) {
|
||||
$idagente_default = 0;
|
||||
}
|
||||
|
||||
$ids = array_column($results, 'idanagrafica');
|
||||
$ids = array_column($results['results'], 'id');
|
||||
$pos = array_search($idagente_default, $ids);
|
||||
if ($pos !== false) {
|
||||
$results[$pos]['_bgcolor_'] = '#ff0';
|
||||
$results['results'][$pos]['_bgcolor_'] = '#ff0';
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user