From b1cb83c8ff48307517b3baa6d9f28a787a911741 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 1 Nov 2017 11:53:45 -0400 Subject: [PATCH] Freeform layout has to clear left,top,bottom,right --- db/zm_update-1.31.12.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/zm_update-1.31.12.sql b/db/zm_update-1.31.12.sql index f20ccff2e..6a2d1d66e 100644 --- a/db/zm_update-1.31.12.sql +++ b/db/zm_update-1.31.12.sql @@ -25,7 +25,7 @@ EXECUTE stmt; SET @s = ( SELECT IF( (SELECT COUNT(*) FROM MontageLayouts WHERE Name='Freeform') > 0, "SELECT 'Freeform already in layouts'", -'INSERT INTO MontageLayouts (`Name`,`Positions`) VALUES (\'Freeform\', \'{"default":{"float":"left","position":"relative"}}\');' +'INSERT INTO MontageLayouts (`Name`,`Positions`) VALUES (\'Freeform\', \'{"default":{"float":"left","position":"relative","left":"0px","right":"0px","top":"0px","bottom":"0px"}}\');' ) ); PREPARE stmt FROM @s; EXECUTE stmt;