Skip to content
Snippets Groups Projects
Commit 4e2a9aaa authored by Yves Christian KPAKPO's avatar Yves Christian KPAKPO
Browse files

FIx: if boolean history in cycle, db connexion are lost, instanciate db...

FIx: if boolean history in cycle, db connexion are lost, instanciate db connexion at the beginning of the history process
parent e98eaf3b
No related branches found
No related tags found
No related merge requests found
......@@ -350,6 +350,7 @@ else
// Save action in history if needed
if($bool_history=='Y')
{
$db = new dbquery();
require_once("core".DIRECTORY_SEPARATOR."class".DIRECTORY_SEPARATOR."class_history.php");
$hist = new history();
$arr_res = explode('#', $res_action['result']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment