From dbef8d389e39799d3ebe1c2b3772968c2f435c0c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 21 Feb 2016 19:58:44 -0500 Subject: Do not show empty dropdown when private projects are disabled --- app/Template/header.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/Template/header.php b/app/Template/header.php index a945411e..e646012a 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -38,19 +38,24 @@ + user->hasAccess('ProjectCreation', 'create'); ?> + app->config('disable_private_project', 0) == 0; ?> + + +