From 353427fa1a05788b0b093999f5498b1535bbc96f Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 28 Oct 2015 22:24:34 +0100 Subject: [PATCH] CustomVariableNull: store to db as json --- library/Director/CustomVariable/CustomVariableNull.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Director/CustomVariable/CustomVariableNull.php b/library/Director/CustomVariable/CustomVariableNull.php index 2b190cc2..d1b28881 100644 --- a/library/Director/CustomVariable/CustomVariableNull.php +++ b/library/Director/CustomVariable/CustomVariableNull.php @@ -17,6 +17,11 @@ class CustomVariableNull extends CustomVariable return null; } + public function getDbFormat() + { + return 'json'; + } + public function setValue($value) { if (! is_null($value)) {