diff --git a/html/access.php b/html/access.php
index 54549f372..4732f8d5d 100644
--- a/html/access.php
+++ b/html/access.php
@@ -114,6 +114,7 @@ echo '
';
$cal=new Calendar();
$cal->get_preference();
$Ledger=new Acc_Ledger($cn,0);
+$last_ledger=array();
if ( $user->check_action(GESTION)==1)
{
$Operation=new Action($cn);
diff --git a/html/js/calc.js b/html/js/calc.js
index 9637fc980..933470f3e 100644
--- a/html/js/calc.js
+++ b/html/js/calc.js
@@ -22,7 +22,7 @@
/*! \file
* \brief This file show a little online calculator, in the caller
* the span id result, listing, the id form calc_line and the
- * input id inp must exist see constant.php JS_CALC_LINE
+ *
*
*/
var p_history="";
diff --git a/html/test.php b/html/test.php
index abc388fdc..7773ac164 100644
--- a/html/test.php
+++ b/html/test.php
@@ -28,6 +28,8 @@ include_once("ac_common.php");
require_once('class_database.php');
require_once ('class_dossier.php');
require_once('class_html_input.php');
+require_once ('function_javascript.php');
+load_all_script();
if ( ! file_exists('authorized_debug') )
{
@@ -144,7 +146,6 @@ case 17:
case 18:
require_once('class_todo_list.php');
require_once ('constant.php');
- echo JS_PROTOTYPE;
Todo_List::test_me();
echo '';
echo '