postfixadmin/postfixadmin-2.93-mariadb-5.5.patch

13 lines
614 B
Diff

diff -Nru postfixadmin-2.93.orig/model/PFAHandler.php postfixadmin-2.93/model/PFAHandler.php
--- postfixadmin-2.93.orig/model/PFAHandler.php 2015-04-06 23:58:58.000000000 +0200
+++ postfixadmin-2.93/model/PFAHandler.php 2016-04-19 21:45:57.177595553 +0200
@@ -569,7 +569,7 @@
$base64_decode = "DECODE(###KEY###, 'base64')";
} else {
$formatted_date = "DATE_FORMAT(###KEY###, '" . escape_string(Config::Lang('dateformat_mysql')) . "')";
- $base64_decode = "FROM_BASE64(###KEY###)";
+ $base64_decode = "###KEY###";
}
$colformat = array(