Fix: on rcupre le fetch de la socit

This commit is contained in:
Regis Houssin 2007-06-22 16:10:12 +00:00
parent ec8be45fa3
commit d509a46a32

View File

@ -136,6 +136,12 @@ if ($_GET["action"] == 'create')
* Mode creation
* Creation d'une nouvelle fiche d'intervention
*/
if ($_GET["socid"])
{
$societe=new Societe($db);
$societe->fetch($_GET["socid"]);
}
print_titre($langs->trans("AddIntervention"));