Permalink
Browse files

Fixes for #566,#571,#582,#583,#588,#597,#599,#600,#606

  • Loading branch information...
1 parent 40159ad commit 0474c218c622b855e157b7b25ea55abfe9e2fa54 Andrew Smith committed Mar 20, 2010
View
@@ -5,5 +5,5 @@
$addon['id'] = $id;
$addon['dir'] = $_SESSION['addonsdir'].$id.'/';
$addon['urlprefix'] = "{$pagename}.php?addonid=$id&url=";
-include "{$addon['dir']}{$_REQUEST['url']}";
+include "{$addon['dir']}{$_REQUEST['url']}"; // TODO what if $_REQUEST['url'] is not set
// php closing tag has been omitted deliberately, to avoid unwanted blank lines being sent to the browser
@@ -222,7 +222,7 @@ function PrintBooklet()
$this->PrintPages($margin0 + $margin0, $margin0, 8, true, true);
}
-function GetData()
+function GetData($nextonly=true)
{
// Get Projects and next actions
$values=array();
@@ -271,7 +271,7 @@ function GetData()
$pdf=new PDF('P','cm',$papersize);
$pdf->initFontParams($fontname,$fontsize);
-$pdf->GetData();
+$pdf->GetData($nextonly);
$pdf->AddPage();
$pdf->SetFont($fontname,'',$fontsize);
$pdf->printBooklet();
Oops, something went wrong.

0 comments on commit 0474c21

Please sign in to comment.