suppression du lien pour créer un projet
This commit is contained in:
parent
3653140c89
commit
0f895aa36a
@ -36,17 +36,13 @@ print_titre("Projets");
|
|||||||
print '<table width="100%">';
|
print '<table width="100%">';
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
|
|
||||||
if($socidp && $user->societe_id == 0)
|
|
||||||
{
|
|
||||||
print '<td>[<a href="fiche.php3?socidp='.$socidp.'&action=create">Nouveau projet</a>]</td>';
|
|
||||||
}
|
|
||||||
print '</tr></table>';
|
print '</tr></table>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Traitements des actions
|
* Traitements des actions
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if ($action == 'create') {
|
if ($HTTP_POST_VARS["action"] == 'create') {
|
||||||
|
|
||||||
$pro = new Project($db);
|
$pro = new Project($db);
|
||||||
$pro->socidp = $socidp;
|
$pro->socidp = $socidp;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user