Skip to content

Commit

Permalink
swap llxfooter() and $db->close()
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Oct 31, 2017
1 parent 8ac7dd8 commit 01a3787
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions htdocs/compta/facture/document.php
Expand Up @@ -4,6 +4,7 @@
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
* Copyright (C) 2005-2011 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr>
* Copyright (C) 2017 Frédéric France <frederic.france@netlogic.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
Expand Down Expand Up @@ -164,6 +165,6 @@
print $langs->trans("ErrorUnknown");
}

$db->close();

llxFooter();

$db->close();

0 comments on commit 01a3787

Please sign in to comment.