Skip to content
Snippets Groups Projects
Commit 1e8e7474 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fixed: specimen init did not include new vars of 3.7

parent 1db6d86c
No related branches found
No related tags found
No related merge requests found
......@@ -1142,7 +1142,7 @@ class ActionComm extends CommonObject
*/
function initAsSpecimen()
{
global $user,$langs,$conf;
global $user,$langs,$conf,$user;
$now=dol_now();
......@@ -1166,6 +1166,9 @@ class ActionComm extends CommonObject
$this->transparency=1; // 1 means opaque
$this->priority=1;
$this->note = 'Note';
$this->userownerid=$user->id;
$this->userassigned[$user->id]=array('id'=>$user->id, 'transparency'=> 1);
}
}
......
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