Skip to content

Commit

Permalink
Fixed: specimen init did not include new vars of 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 7, 2014
1 parent 1db6d86 commit 1e8e747
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion htdocs/comm/action/class/actioncomm.class.php
Expand Up @@ -1142,7 +1142,7 @@ function build_exportfile($format,$type,$cachedelay,$filename,$filters)
*/
function initAsSpecimen()
{
global $user,$langs,$conf;
global $user,$langs,$conf,$user;

$now=dol_now();

Expand All @@ -1166,6 +1166,9 @@ function initAsSpecimen()
$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);
}

}
Expand Down

0 comments on commit 1e8e747

Please sign in to comment.