From f8740f40fd55ae36552160d0de56871ff638055f Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 20 Dec 2017 15:50:24 +0100 Subject: [PATCH] A fix patch for commit c6b2d8477744636a8d12ca680c4f74b51f91e700 --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 43306b0eac..38f059a2bb 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -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))