Skip to content

Commit 60a192c

Browse files
author
Jim Graham
committed
Fix incorrect object reference
1 parent 8731a1e commit 60a192c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: core/src/Revolution/modTemplateVar.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -406,10 +406,10 @@ public function renderInput($resource = null, $options = [])
406406
$this->set('default_text', $this->processBindings($this->get('default_text'), $resourceId));
407407

408408
/* remove disallowed tags and attributes from description */
409-
$this->set('description', $this->modx->stripHtml(
409+
$this->set('description', $this->xpdo->stripHtml(
410410
$this->get('description'),
411-
$this->modx->getOption('elements_description_allowedtags'),
412-
$this->modx->getOption('elements_description_allowedattr')
411+
$this->xpdo->getOption('elements_description_allowedtags'),
412+
$this->xpdo->getOption('elements_description_allowedattr')
413413
));
414414

415415
$params = [];

0 commit comments

Comments
 (0)