Skip to content

Commit

Permalink
Fix incorrect object reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Graham committed Apr 2, 2022
1 parent 0ad1d00 commit 1b0230b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/Revolution/modTemplateVar.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,10 @@ public function renderInput($resource = null, $options = [])
$this->set('default_text', $this->processBindings($this->get('default_text'), $resourceId));

/* remove disallowed tags and attributes from description */
$this->set('description', $this->modx->stripHtml(
$this->set('description', $this->xpdo->stripHtml(
$this->get('description'),
$this->modx->getOption('elements_description_allowedtags'),
$this->modx->getOption('elements_description_allowedattr')
$this->xpdo->getOption('elements_description_allowedtags'),
$this->xpdo->getOption('elements_description_allowedattr')
));

$params = [];
Expand Down

0 comments on commit 1b0230b

Please sign in to comment.