Skip to content

Commit

Permalink
Switched path for fpdf
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolesen committed Apr 11, 2011
1 parent fbf535e commit 05da9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions teambuilder_activities_pdf.module
Expand Up @@ -38,7 +38,7 @@ function exercise_pdf_access($node) {
*/
function exercise_pdf_portrait($node) {
global $base_url;
require_once libraries_get_path('fpdf') . '/fpdf.php';
require_once libraries_get_path('fpdf') . '/FPDF-1.6.0/fpdf.php';

$title = " " . utf8_decode($node->title);
$description = utf8_decode(strip_tags($node->field_instruction[0]['value']));
Expand Down Expand Up @@ -209,7 +209,7 @@ function teambuilder_activities_pdf_get_vocabulary_machinename_by_vid($vid) {
*/
function exercise_pdf_teacher($node) {
global $base_url;
require_once libraries_get_path('fpdf') . '/fpdf.php';
require_once libraries_get_path('fpdf') . '/FPDF-1.6.0/fpdf.php';

$title = " " . utf8_decode($node->title);
$description = utf8_decode(strip_tags($node->body));
Expand Down

0 comments on commit 05da9f5

Please sign in to comment.