mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Disable history tab in resources for new entries
This commit is contained in:
parent
387035f76d
commit
c1322442a5
@ -561,6 +561,7 @@ class resources_ui
|
||||
|
||||
// Disable custom tab if there are no custom fields defined
|
||||
$read_only['tabs']['custom'] = !(config::get_customfields('resources',true));
|
||||
$read_only['tabs']['history'] = ($content['history']['id'] != 0?false:true);
|
||||
|
||||
$preserv = $content;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user