From 184a433a15df3995a21ba29706646014eb0dbfe7 Mon Sep 17 00:00:00 2001 From: Eduard Briem Date: Mon, 7 Nov 2016 11:42:55 +1300 Subject: [PATCH] enable Shortcode parsing using $this->dbObject instead of manually invoking the shortcode parsers --- code/model/editableformfields/EditableLiteralField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/editableformfields/EditableLiteralField.php b/code/model/editableformfields/EditableLiteralField.php index 7598d4a..7887937 100644 --- a/code/model/editableformfields/EditableLiteralField.php +++ b/code/model/editableformfields/EditableLiteralField.php @@ -145,7 +145,7 @@ class EditableLiteralField extends EditableFormField Convert::raw2htmlname($this->Name), Convert::raw2att($classes), $label, - ShortcodeParser::get_active()->parse($this->Content) + $this->dbObject('Content') ) );