SF.net SVN: postfixadmin:[1497] trunk/setup.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-07-10 11:55:26
|
Revision: 1497 http://sourceforge.net/p/postfixadmin/code/1497 Author: christian_boltz Date: 2013-07-10 11:55:23 +0000 (Wed, 10 Jul 2013) Log Message: ----------- setup.php: - explicitely specify (empty) values for description and transport when creating the "ALL" domain to fix problems with strict SQL mode in MariaDB https://sourceforge.net/p/postfixadmin/bugs/288/ Modified Paths: -------------- trunk/setup.php Modified: trunk/setup.php =================================================================== --- trunk/setup.php 2013-06-24 20:56:34 UTC (rev 1496) +++ trunk/setup.php 2013-07-10 11:55:23 UTC (rev 1497) @@ -344,7 +344,7 @@ $table_domain = table_by_key('domain'); $r = db_query("SELECT * FROM $table_domain WHERE domain = 'ALL'"); if($r['rows'] == 0) { - db_insert('domain', array('domain' => 'ALL')); // all other fields should default through the schema. + db_insert('domain', array('domain' => 'ALL', 'description' => '', 'transport' => '') ); // all other fields should default through the schema. } $values = array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |