Index: /lib/wpsg_basket.class.php
===================================================================
--- /lib/wpsg_basket.class.php	(revision 6374)
+++ /lib/wpsg_basket.class.php	(revision 6377)
@@ -305,5 +305,5 @@
 				'land' => '',
 				'comment' => ''
-			), $_SESSION['wpsg']['checkout']);
+			), wpsg_isSizedArray($_SESSION['wpsg']['checkout'])?$_SESSION['wpsg']['checkout']:array());
 
 			$this->loadFromSession = true;
@@ -728,9 +728,16 @@
 					}
 
-					$k_id = $this->db->ImportQuery(WPSG_TBL_KU, $data);
-					$knr = $this->shop->buildKNR($k_id);
-
-					$update_customer_data['knr'] = wpsg_q($knr);
-
+					if (wpsg_isSizedString($data['email']))
+					{
+						$k_id = wpsg_getInt($_SESSION['wpsg']['checkout']['id']);
+						if (!wpsg_isSizedInt($_SESSION['wpsg']['checkout']['id']))
+						{
+							$k_id = $this->db->ImportQuery(WPSG_TBL_KU, $data);
+						}
+						$knr = $this->shop->buildKNR($k_id);
+
+						$update_customer_data['knr'] = wpsg_q($knr);
+						
+					}
 					$this->shop->callMods('customer_created', array(&$k_id, &$this->arCheckout['password']));
 
@@ -771,8 +778,9 @@
 
 					$adress_data['cdate'] = 'NOW()';
-
-					$customer_data['adress_id'] = wpsg_q($this->db->ImportQuery(WPSG_TBL_ADRESS, $adress_data));
-					$update_customer_data['adress_id'] = $customer_data['adress_id'];
-
+					if (wpsg_isSizedString($adress_data['name']) && wpsg_isSizedString($adress_data['vname']))
+					{
+						$customer_data['adress_id'] = wpsg_q($this->db->ImportQuery(WPSG_TBL_ADRESS, $adress_data));
+						$update_customer_data['adress_id'] = $customer_data['adress_id'];
+					}
 				}
 				else
Index: /model/wpsg_order.class.php
===================================================================
--- /model/wpsg_order.class.php	(revision 6374)
+++ /model/wpsg_order.class.php	(revision 6377)
@@ -31,5 +31,5 @@
 			$this->bShippingAdress = $this->shop->callMod('wpsg_mod_shippingadress', 'check_different_shippingadress', array($this->data['k_id'], $order_id));
 				
-			if ($this->data['id'] != $order_id) throw new \wpsg\Exception(__('Die Daten eines Bestellobjekts konnten nicht geladen werden ', 'wpsg'));
+			if (isset($this->data['id']) && ($this->data['id'] != $order_id)) throw new \wpsg\Exception(__('Die Daten eines Bestellobjekts konnten nicht geladen werden ', 'wpsg'));
 				
 			if (wpsg_isSizedInt($this->data['adress_id'])) $this->adress_data = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_ADRESS."` WHERE `id` = '".wpsg_q($this->data['adress_id'])."' ");
Index: /mods/wpsg_mod_kundenverwaltung.class.php
===================================================================
--- /mods/wpsg_mod_kundenverwaltung.class.php	(revision 6374)
+++ /mods/wpsg_mod_kundenverwaltung.class.php	(revision 6377)
@@ -571,5 +571,5 @@
 				}
 				else
-			{
+				{
 				
 					// Wenn im Backend ID > 0 eingestellt ist und die Seite existiert
Index: /views/admin/ueber.phtml
===================================================================
--- /views/admin/ueber.phtml	(revision 6374)
+++ /views/admin/ueber.phtml	(revision 6377)
@@ -102,5 +102,5 @@
 <?php if (isset($_REQUEST['subaction']) && $_REQUEST['subaction'] == 'phpinfo') { ?>
 <?php echo wpsg_drawForm_AdminboxStart(__('PHP-Info', 'wpsg')); ?>
-	<div id="phpinfo" class="form-horizontal" style="max-width:100% !important; ">
+	<div id="phpinfo" class="form-horizontal" style="max-width:100% !important; height:500px !important; ">
 
 	<?php
@@ -111,15 +111,20 @@
 	ob_end_clean();
 
-	$pinfo = preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo );
+	//$pinfo = preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo );
 	//echo $pinfo;
 
+	$pinfo = htmlentities($pinfo);
+	//$pinfo = htmlspecialchars($pinfo, ENT_HTML5, 'ISO-8859-1');
+	
+	echo '<iframe id="pinfo" style="width:100%; height:100% !important;" sandbox seamless srcdoc="'.$pinfo.'"></iframe>';
+	
 	//$pinfo = preg_replace("/(width):\".*?\"/", "\${1}=\"100%\"", $pinfo);
 	//$pinfo = preg_replace('/(width)(:)"([\d]+)"/', '${1}${2}"100%"', $pinfo);
 	//$pinfo = str_replace('width: 934px;', 'width:100%;', $pinfo);
 
-	echo $pinfo;
-	//jQuery('#phpinfo').replaceWith($pinfo);
-
-	?>
+	?>
+	<script>
+	pinfo2 = document.getElementById("pinfo").srcdoc
+	</script>
 	</div>
 <?php echo wpsg_drawForm_AdminboxEnd(); ?>
