From 71a8cac9e5b3ca99fa3fa51ee42c045f6c5bedb5 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Mon, 9 Mar 2020 15:35:58 +1300 Subject: [PATCH] BUG Remove bad default value for UserForm Content (#926) * BUG Remove bad default value for UserForm Content * BUG Update travis build to use Xenial --- .travis.yml | 5 +++++ code/UserForm.php | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 83ec4c6..5d3af09 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,10 @@ language: php +dist: xenial + +services: + - mysql + env: global: - COMPOSER_ROOT_VERSION=5.0.x-dev diff --git a/code/UserForm.php b/code/UserForm.php index 89bcf0d..0b1fc6d 100644 --- a/code/UserForm.php +++ b/code/UserForm.php @@ -107,7 +107,6 @@ trait UserForm * @var array Default values of variables when this page is created */ private static $defaults = [ - 'Content' => '$UserDefinedForm', 'DisableSaveSubmissions' => 0, 'OnCompleteMessage' => '

Thanks, we\'ve received your submission.

' ];