first commit

This commit is contained in:
Geno 2014-12-03 17:46:42 +01:00
parent bbd64642cf
commit d269f2659a
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ $tcpdf->SetTextColor(0, 0, 0);
$tcpdf->SetFont($tcpdf->font);
$url=WWW_ROOT.DS.'img'.DS.'icon_user.png';
if($profil['AppUserWorker']['avatar'])
if($application['AppUserWorker']['avatar'])
$url = WWW_ROOT.DS.'uploads'.DS.$application['AppUserWorker']['avatar'];
$tcpdf->Image($url,0,40,0,140,'','','','',300,'L');

View File

@ -24,7 +24,7 @@ $tcpdf->SetTextColor(0, 0, 0);
$tcpdf->SetFont($tcpdf->font);
$url=WWW_ROOT.DS.'img'.DS.'icon_user.png';
if($profil['AppUserWorker']['avatar'])
if($application['AppUserWorker']['avatar'])
$url = WWW_ROOT.DS.'uploads'.DS.$application['AppUserWorker']['avatar'];
$tcpdf->Image($url,0,40,0,140,'','','','',300,'L');