forked from extern/egroupware
* Api: fix error adding/editing catgories or custom fields
This commit is contained in:
parent
1125857730
commit
6435eb1293
@ -317,7 +317,7 @@ class admin_categories
|
||||
}
|
||||
|
||||
Framework::includeJS('.','global_categories','admin');
|
||||
translation::add_app('admin');
|
||||
Api\Translation::add_app('admin');
|
||||
|
||||
$readonlys['button[delete]'] = !$content['id'] || !self::$acl_delete || // cant delete not yet saved category
|
||||
$appname != $content['appname'] || // Can't edit a category from a different app
|
||||
|
@ -269,7 +269,7 @@ class admin_customfields
|
||||
|
||||
// Make sure app css & lang get loaded, extending app might cause et2 to miss it
|
||||
Framework::includeCSS('admin','app');
|
||||
translation::add_app('admin');
|
||||
Api\Translation::add_app('admin');
|
||||
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = $GLOBALS['egw_info']['apps'][$this->appname]['title'].' - '.lang('Custom fields');
|
||||
|
||||
|
@ -115,7 +115,7 @@ class Authenticate
|
||||
{
|
||||
$realm .= ': '.$GLOBALS['egw']->session->reason;
|
||||
}
|
||||
header('WWW-Authenticate: Basic realm="'.$realm.'"');// draft-reschke-basicauth-enc-06 adds, accept-charset="'.translation::charset().'"');
|
||||
header('WWW-Authenticate: Basic realm="'.$realm.'"');// draft-reschke-basicauth-enc-06 adds, accept-charset="'.Api\Translation::charset().'"');
|
||||
self::digest_header($realm);
|
||||
header('HTTP/1.1 401 Unauthorized');
|
||||
header('X-WebDAV-Status: 401 Unauthorized', true);
|
||||
|
Loading…
Reference in New Issue
Block a user