Skip to content

Commit f0d530a

Browse files
committed
Stupid mistake in the installer - set the default value for clean installs separately.
1 parent 833c15a commit f0d530a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

upload/library/LiveUpdate/Install.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ public static function installer($previous)
2929

3030
self::_runQuery('
3131
ALTER TABLE xf_user_option
32-
ADD COLUMN liveupdate_display_option MEDIUMBLOB NULL DEFAULT ?
33-
', json_encode(array('tab_icon')));
32+
ADD COLUMN liveupdate_display_option MEDIUMBLOB NULL DEFAULT NULL
33+
');
34+
35+
self::_runQuery("
36+
UPDATE xf_user_option
37+
SET liveupdate_display_option = ?
38+
", json_encode(array('tab_icon')));
3439
}
3540
else
3641
{

0 commit comments

Comments
 (0)