diff --git a/lib/behat/form_field/behat_form_select.php b/lib/behat/form_field/behat_form_select.php index 228a5b614b5..10df8eafb58 100644 --- a/lib/behat/form_field/behat_form_select.php +++ b/lib/behat/form_field/behat_form_select.php @@ -51,7 +51,6 @@ class behat_form_select extends behat_form_field { // Is the select multiple? $multiple = $this->field->hasAttribute('multiple'); - $singleselect = ($this->field->hasClass('singleselect') || $this->field->hasClass('urlselect')); // Here we select the option(s). if ($multiple) {