Index: /changelog
===================================================================
--- /changelog	(revision 7715)
+++ /changelog	(revision 7716)
@@ -361,2 +361,3 @@
 - Bugfix: "Rechnungen ansehen" ÃŒber mehrere Rechnungen funktioniert wieder / Task #733
 - Bugfix: Updtate der VerschlÃŒsselung innerhalb Kreditkartenmodul / Task #727
+- Bugfix: Logo in E-Mail Konfiguration lÃ€sst sich speichern / Task #726
Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 7715)
+++ /controller/wpsg_AdminController.class.php	(revision 7716)
@@ -1703,10 +1703,27 @@
 			}
 			
-			if (isset($_REQUEST['submit']))
-			{
+			if (isset($_REQUEST['submit'])) {
 				
 				check_admin_referer('wpsg-admin-emailconf');
 
-			    $this->update_option('wpsg_htmlmail', $_REQUEST['wpsg_htmlmail'], false, false, WPSG_SANITIZE_CHECKBOX);
+                $logoPath = wpsg_getUploadDir('wpsg_mailconf').'wpsg_email_logo.jpg';
+
+                $this->update_option('wpsg_htmlmail', @$_REQUEST['wpsg_htmlmail'], false, false, WPSG_SANITIZE_CHECKBOX);
+                $this->update_option('wpsg_email_logo_activated', @$_REQUEST['wpsg_email_logo_activated'], false, false, WPSG_SANITIZE_CHECKBOX, ['allowEmpty' => true]);
+                $this->update_option('wpsg_email_logo_watermark', @$_REQUEST['wpsg_email_logo_watermark'], false, false, WPSG_SANITIZE_CHECKBOX, ['allowEmpty' => true]);
+
+                if (intval($_REQUEST['wpsg_email_logo_del']) === 1) {
+
+                    @unlink($logoPath);
+
+                } else if (file_exists($_FILES['wpsg_email_logo']['tmp_name']) && intval($_FILES['wpsg_email_logo']['error']) === 0) {
+
+                    @unlink($logoPath);
+                    move_uploaded_file($_FILES['wpsg_email_logo']['tmp_name'], $logoPath);
+
+                }
+
+                if (isset($_REQUEST['wpsg_email_logo_alignment'])) $this->update_option('wpsg_email_logo_alignment', $_REQUEST['wpsg_email_logo_alignment'], false, false, WPSG_SANITIZE_VALUES, ['left', 'center', 'right']);
+                if (isset($_REQUEST['wpsg_email_logo_transparency'])) $this->update_option('wpsg_email_logo_transparency', intval($_REQUEST['wpsg_email_logo_transparency']), false, false, WPSG_SANITIZE_INT);
 
 				wpsg_saveEMailConfig("global"); // Global
@@ -1723,7 +1740,8 @@
 			}
 
-			if (isset($_REQUEST['cmd']) && $_REQUEST['cmd'] == 'del_attach_file')
-			{
+			if (isset($_REQUEST['cmd']) && $_REQUEST['cmd'] == 'del_attach_file') {
+
 				$this->update_option('wpsg_kundenmail_attachfile', '');
+
 			}
 
Index: /views/css/admin.css
===================================================================
--- /views/css/admin.css	(revision 7715)
+++ /views/css/admin.css	(revision 7716)
@@ -79,4 +79,5 @@
 .branch-5-3 #wpsg-bs input[type=checkbox], input[type=radio] { width:16px; height:16px; }
 .branch-5-3 #wpsg-bs input[type=checkbox]:checked::before { width:14px; height:14px; margin:0; }
+.branch-5-3 #wpsg-bs input[type=radio]:checked::before { width:6px; height:6px; margin:4px; }
 
 /* Allgemeine Klassen */
Index: /views/mailtemplates/html/logo.phtml
===================================================================
--- /views/mailtemplates/html/logo.phtml	(revision 7715)
+++ /views/mailtemplates/html/logo.phtml	(revision 7716)
@@ -22,7 +22,7 @@
 		if(file_exists($logoPath))
 		{
-			$logoType = pathinfo($logoPath);
+			$logoType = mime_content_type($logoPath);
 			$logoData = file_get_contents($logoPath);
-			$logoBase64 = 'data:image/' . $logoType . ';base64,' . base64_encode($logoData);
+			$logoBase64 = 'data:'.$logoType.';base64,'.base64_encode($logoData);
 		}
 
