2
0
forked from Wavyzz/dolibarr

Update html.formprojet.class.php

This commit is contained in:
BENKE Charlene
2018-05-13 15:34:26 +02:00
committed by GitHub
parent 537048a10a
commit 2f1800f3e2

View File

@@ -1,6 +1,7 @@
<?php
/* Copyright (c) 2013 Florian Henry <florian.henry@open-concept.pro>
* 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
* it under the terms of the GNU General Public License as published by
@@ -139,10 +140,10 @@ class FormProjets
if (empty($htmlid)) $htmlid = $htmlname;
$out='';
$outarray=array();
$outarray=array();
$hideunselectables = false;
if (! empty($conf->global->PROJECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
if (! empty($conf->global->SELECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
$projectsListId = false;
if (empty($user->rights->projet->all->lire))
@@ -317,7 +318,7 @@ class FormProjets
$out='';
$hideunselectables = false;
if (! empty($conf->global->PROJECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
if (! empty($conf->global->SELECT_HIDE_UNSELECTABLES)) $hideunselectables = true;
if (empty($projectsListId))
{