Index: /lib/fpdf/fpdf.php
===================================================================
--- /lib/fpdf/fpdf.php	(revision 7324)
+++ /lib/fpdf/fpdf.php	(revision 7325)
@@ -74,5 +74,5 @@
 *                                                                              *
 *******************************************************************************/
-function FPDF($orientation='P', $unit='mm', $size='A4')
+function __construct($orientation='P', $unit='mm', $size='A4')
 {
 	// Some checks
Index: /lib/fpdf/fpdi_pdf_parser.php
===================================================================
--- /lib/fpdf/fpdi_pdf_parser.php	(revision 7324)
+++ /lib/fpdf/fpdi_pdf_parser.php	(revision 7325)
@@ -67,5 +67,5 @@
      * @param object $fpdi      Object of type fpdi
      */
-    function fpdi_pdf_parser($filename, &$fpdi) {
+    function __construct($filename, &$fpdi) {
         $this->fpdi =& $fpdi;
 		
Index: /lib/fpdf/pdf_context.php
===================================================================
--- /lib/fpdf/pdf_context.php	(revision 7324)
+++ /lib/fpdf/pdf_context.php	(revision 7325)
@@ -38,5 +38,5 @@
     	// Constructor
     
-    	function pdf_context(&$f) {
+    	function __construct(&$f) {
     		$this->file =& $f;
     		if (is_string($this->file))
Index: /lib/fpdf/pdf_parser.php
===================================================================
--- /lib/fpdf/pdf_parser.php	(revision 7324)
+++ /lib/fpdf/pdf_parser.php	(revision 7325)
@@ -99,5 +99,5 @@
      * @param string $filename  Source-Filename
      */
-	function pdf_parser($filename) {
+	function __construct($filename) {
         $this->filename = $filename;
         
Index: /mods/wpsg_mod_deliverynote.class.php
===================================================================
--- /mods/wpsg_mod_deliverynote.class.php	(revision 7324)
+++ /mods/wpsg_mod_deliverynote.class.php	(revision 7325)
@@ -224,6 +224,6 @@
 		public function order_ajax()
 		{
-
-			if (isset($_REQUEST['wpsg_deliverynote_preview']))
+			
+			if (isset($_REQUEST['wpsg_mod_deliverynote_preview']))
 			{
 
@@ -608,5 +608,5 @@
 			$this->shop->view['data']['name'] = $this->shop->view['customer']['name'];
 			$this->shop->view['data']['strasse'] = $this->shop->view['customer']['strasse'];
-			$this->shop->view['data']['hausnr'] = $this->shop->view['customer']['nr'];
+			$this->shop->view['data']['nr'] = $this->shop->view['customer']['nr'];
 			$this->shop->view['data']['plz'] = $this->shop->view['customer']['plz'];
 			$this->shop->view['data']['ort'] = $this->shop->view['customer']['ort'];
@@ -628,5 +628,5 @@
 					$this->shop->view['data']['name'] = $adata['name'];
 					$this->shop->view['data']['strasse'] = $adata['strasse'];
-					$this->shop->view['data']['hausnr'] = $adata['nr'];
+					$this->shop->view['data']['nr'] = $adata['nr'];
 					$this->shop->view['data']['plz'] = $adata['plz'];
 					$this->shop->view['data']['ort'] = $adata['ort'];
Index: /views/mods/mod_deliverynote/deliverynote_pdf.phtml
===================================================================
--- /views/mods/mod_deliverynote/deliverynote_pdf.phtml	(revision 7324)
+++ /views/mods/mod_deliverynote/deliverynote_pdf.phtml	(revision 7325)
@@ -78,5 +78,5 @@
 			
 			if (wpsg_getStr($shop->view['kunde']['kuerzel']) != "") $shop->view['kunde']['kuerzel'] = $shop->view['kunde']['kuerzel'].'-';
-				
+				die();
 			// Adresse des Kunden
 			$pdf->SetFont('Arial', '', 12);
