From d269f2659ab4155fbf9576021b305e28441895f2 Mon Sep 17 00:00:00 2001 From: Geno Date: Wed, 3 Dec 2014 17:46:42 +0100 Subject: [PATCH] first commit --- app/View/Pdf/application.ctp | 2 +- app/View/Pdf/application_ext.ctp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/View/Pdf/application.ctp b/app/View/Pdf/application.ctp index ee7377c..eba80f5 100644 --- a/app/View/Pdf/application.ctp +++ b/app/View/Pdf/application.ctp @@ -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'); diff --git a/app/View/Pdf/application_ext.ctp b/app/View/Pdf/application_ext.ctp index 866cfb4..5b5d38a 100644 --- a/app/View/Pdf/application_ext.ctp +++ b/app/View/Pdf/application_ext.ctp @@ -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');