Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libraries/src/Captcha/Captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Captcha implements DispatcherAwareInterface
private $captcha;

/**
* Editor Plugin name
* Captcha Plugin name
*
* @var string
* @since 2.5
Expand Down Expand Up @@ -233,10 +233,10 @@ private function _load(array $options = [])
// Build the path to the needed captcha plugin
$name = InputFilter::getInstance()->clean($this->name, 'cmd');

// Boot the editor plugin
// Boot the captcha plugin
$this->captcha = Factory::getApplication()->bootPlugin($name, 'captcha');

// Check if the editor can be loaded
// Check if the captcha can be loaded
if (!$this->captcha) {
throw new \RuntimeException(Text::sprintf('JLIB_CAPTCHA_ERROR_PLUGIN_NOT_FOUND', $name));
}
Expand Down