A fix patch for commit c6b2d84777

This commit is contained in:
Hadi Nategh 2017-12-20 15:50:24 +01:00
parent a2aadad016
commit 84dc97dc83

View File

@ -2233,7 +2233,7 @@ window.egw_LAB.wait(function() {
}
else
{
$content['owner'] = (string)$state['filter'];
$content['owner'] = (string)($state['filter'] == 0 ? '' : $state['filter']);
}
$content['private'] = (int) ($content['owner'] && substr($content['owner'],-1) == 'p');
if ($content['owner'] === '' || !($this->grants[$content['owner'] = (string) (int) $content['owner']] & Acl::ADD))