diff --git a/core/src/Revolution/Processors/Context/Setting/Create.php b/core/src/Revolution/Processors/Context/Setting/Create.php index 6ba0012917b..7a6d74e8663 100644 --- a/core/src/Revolution/Processors/Context/Setting/Create.php +++ b/core/src/Revolution/Processors/Context/Setting/Create.php @@ -67,7 +67,7 @@ public function beforeSave() { $this->object->set('context_key', $this->context->key); - $key = $this->getProperty('key'); + $key = trim($this->getProperty('key', '')); $this->object->set('key', $key); // Make sure the key's there and valid