Update html.formprojet.class.php
This commit is contained in:
parent
537048a10a
commit
2f1800f3e2
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (c) 2013 Florian Henry <florian.henry@open-concept.pro>
|
/* Copyright (c) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com>
|
||||||
|
* Copyright (C) 2018 Charlene Benke <charlie@patas-monkey.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -139,10 +140,10 @@ class FormProjets
|
|||||||
if (empty($htmlid)) $htmlid = $htmlname;
|
if (empty($htmlid)) $htmlid = $htmlname;
|
||||||
|
|
||||||
$out='';
|
$out='';
|
||||||
$outarray=array();
|
$outarray=array();
|
||||||
|
|
||||||
$hideunselectables = false;
|
$hideunselectables = false;
|
||||||
if (! empty($conf->global->PROJECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
|
if (! empty($conf->global->SELECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
|
||||||
|
|
||||||
$projectsListId = false;
|
$projectsListId = false;
|
||||||
if (empty($user->rights->projet->all->lire))
|
if (empty($user->rights->projet->all->lire))
|
||||||
@ -317,7 +318,7 @@ class FormProjets
|
|||||||
$out='';
|
$out='';
|
||||||
|
|
||||||
$hideunselectables = false;
|
$hideunselectables = false;
|
||||||
if (! empty($conf->global->PROJECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
|
if (! empty($conf->global->SELECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
|
||||||
|
|
||||||
if (empty($projectsListId))
|
if (empty($projectsListId))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user