Skip to content

Commit

Permalink
Trim context setting keys on creation (#16500)
Browse files Browse the repository at this point in the history
## What does it do?
3.x port of #16498
  • Loading branch information
Jako authored and opengeek committed Mar 25, 2024
1 parent e5055c4 commit d433e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Revolution/Processors/Context/Setting/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d433e80

Please sign in to comment.