mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
fix class "Accounts" not found
This commit is contained in:
parent
f68faa7941
commit
5cf18de2c5
@ -497,7 +497,7 @@ class timesheet_ui extends timesheet_bo
|
||||
];
|
||||
$sel_options['ts_owner'] = $edit_grants;
|
||||
// Special handling for if you have a LOT of accounts - use a regular account widget
|
||||
if(count($sel_options['ts_owner']) > Accounts::HUGE_LIMIT)
|
||||
if(count($sel_options['ts_owner']) > Api\Accounts::HUGE_LIMIT)
|
||||
{
|
||||
unset($sel_options['ts_owner']);
|
||||
$etpl->setElementAttribute('ts_owner', 'type', 'et2-select-account');
|
||||
@ -1044,7 +1044,7 @@ class timesheet_ui extends timesheet_bo
|
||||
'ts_status' => $this->status_labels + array(lang('No status')),
|
||||
);
|
||||
// Special handling for if you have a LOT of accounts - use a regular account widget
|
||||
if(count($sel_options['ts_owner']) > Accounts::HUGE_LIMIT)
|
||||
if(count($sel_options['ts_owner']) > Api\Accounts::HUGE_LIMIT)
|
||||
{
|
||||
unset($sel_options['ts_owner']);
|
||||
$etpl->setElementAttribute('ts_owner', 'type', 'et2-nextmatch-header-account');
|
||||
|
Loading…
Reference in New Issue
Block a user