Fix: error if propal module is not enable
This commit is contained in:
parent
c8bb9379ee
commit
8ae165b6d3
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr>
|
||||
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
||||
*
|
||||
* 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
|
||||
@ -89,7 +89,7 @@ $now=gmmktime();
|
||||
$html = new Form($db);
|
||||
$formfile = new FormFile($db);
|
||||
$companystatic=new Societe($db);
|
||||
$propalstatic=new Propal($db);
|
||||
if ($conf->propal->enabled) $propalstatic=new Propal($db);
|
||||
|
||||
llxHeader();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user