2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Florian HENRY
2015-04-18 23:43:11 +02:00
parent 5c80d46b74
commit 41631ceed9
2 changed files with 3 additions and 4 deletions

View File

@@ -503,9 +503,8 @@ if ($action == 'create' && !$error)
print "</table>\n"; print "</table>\n";
} }
//Mode liste //Mode liste
if (($action != 'create' && $action != 'add') || !$error) if (($action != 'create' && $action != 'add') && !$error)
{ {
llxHeader(); llxHeader();
?> ?>

View File

@@ -259,7 +259,7 @@ $formfile = new FormFile($db);
$companystatic = new Societe($db); $companystatic = new Societe($db);
// Mode creation // Mode creation
if ($action == 'create' && empty($mesgs)) { if ($action == 'create' && !$error) {
llxHeader(); llxHeader();
print_fiche_titre($langs->trans('NewBill')); print_fiche_titre($langs->trans('NewBill'));
@@ -380,7 +380,7 @@ if ($action == 'create' && empty($mesgs)) {
} }
// Mode liste // Mode liste
if (($action != 'create' && $action != 'add') || ! empty($mesgs)) { if (($action != 'create' && $action != 'add') && !$error) {
llxHeader(); llxHeader();
?> ?>
<script type="text/javascript"> <script type="text/javascript">