Fix warning message again

This commit is contained in:
Nathan Gray 2011-06-27 15:54:07 +00:00
parent ca227eda32
commit 1500c4f739

View File

@ -234,6 +234,7 @@ class admin_categories
}
$content['no_private'] = true;
}
if($this->appname == 'admin')
{
$content['access'] = 'public';
@ -245,7 +246,7 @@ class admin_categories
egw_framework::validate_file('.','global_categories','admin');
egw_framework::set_onload('$(document).ready(function() {
cat_original_owner = [' . ($content['owner'] ? $content['owner'] : $content['id'] ? '0' : '') .'];
cat_original_owner = [' . ($content['owner'] ? $content['owner'] : ($content['id'] ? '0' : '')) .'];
permission_prompt = \'' . lang('Removing access for groups may cause problems for data in this category. Are you sure? Users in these groups may no longer have access:').'\';
});');