From 0a22f095234f07ff8aa399ba1335449628883926 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 6 Jun 2013 17:05:56 +0000 Subject: [PATCH] * Admin/All apps: enable private custom-fields can be explicitly disabled via GET parameter use_private=0 --- admin/inc/class.customfields.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/inc/class.customfields.inc.php b/admin/inc/class.customfields.inc.php index 1312ead43a..83c4654aff 100644 --- a/admin/inc/class.customfields.inc.php +++ b/admin/inc/class.customfields.inc.php @@ -140,7 +140,7 @@ class customfields $content_types = array_keys($this->content_types); $this->content_type = $content_types[0]; } - $content['use_private'] = (boolean)$_GET['use_private']; + $content['use_private'] = !isset($_GET['use_private']) || (boolean)$_GET['use_private']; $referer = $GLOBALS['egw']->common->get_referer(); }