fix PHP error class config not found when storing ACL for resources on minimal install

This commit is contained in:
Ralf Becker 2017-08-24 11:57:18 +02:00
parent bf658d8dd8
commit 82081eb58a

View File

@ -209,7 +209,7 @@ class resources_acl_ui
{ {
unset($location_cats[$key]); unset($location_cats[$key]);
} }
config::save_value('location_cats', implode(',', $location_cats), 'resources'); Api\Config::save_value('location_cats', implode(',', $location_cats), 'resources');
$msg = lang('Category saved.'); $msg = lang('Category saved.');
} }
catch (Api\Exception\WrongUserinput $e) catch (Api\Exception\WrongUserinput $e)