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 May 6, 2022
1 parent 43f1b9b commit 87dcce4
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 87dcce4

Please sign in to comment.