From 457990e09bc52a0b5c3e78d8d47bed3e8de30ddf Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 5 Feb 2011 15:56:06 +0000
Subject: [PATCH] Fix: W3C

---
 htdocs/asterisk/wrapper.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/htdocs/asterisk/wrapper.php b/htdocs/asterisk/wrapper.php
index 6f634444498..2d44b71c8f5 100644
--- a/htdocs/asterisk/wrapper.php
+++ b/htdocs/asterisk/wrapper.php
@@ -47,6 +47,9 @@ function llxHeader() {
 	print '<title>Asterisk redirection from Dolibarr...</title>'."\n";
 	print '</head>'."\n";
 }
+function llxFooter() {
+	print "\n".'</html>'."\n";
+}
 
 require_once("../main.inc.php");
 require_once(DOL_DOCUMENT_ROOT."/lib/functions.lib.php");
@@ -148,4 +151,4 @@ else {
     print 'Bad parameters in URL. Must be '.$_SERVER['PHP_SELF'].'?caller=99999&called=99999&login=xxxxx&password=xxxxx';
 }
 
-print '</html>'."\n";
+llxFooter();
-- 
GitLab