Skip to content

Commit

Permalink
fix(ldapfield): PHP warning when editing the question
Browse files Browse the repository at this point in the history
fix #2116

Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Feb 18, 2021
1 parent 9fd8c1a commit db452c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion inc/field/ldapselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getDesignSpecializationField(): array {
$additions .= '<td colspan="2">&nbsp;</td>';
$additions .= '</tr>';

$common = parent::getDesignSpecializationField();
$common = PluginFormcreatorAbstractField::getDesignSpecializationField();
$additions .= $common['additions'];

return [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ public function testCreateForm() {
$this->client->waitForVisibility('form[data-itemtype="PluginFormcreatorQuestion"] select[name="show_empty"]');
$this->client->waitForVisibility('form[data-itemtype="PluginFormcreatorQuestion"] input[name="ldap_filter"]');
$this->client->waitForVisibility('form[data-itemtype="PluginFormcreatorQuestion"] select[name="ldap_attribute"]');
$this->client->waitForVisibility('form[data-itemtype="PluginFormcreatorQuestion"] input[name="default_values"]');
$this->client->waitForVisibility('form[data-itemtype="PluginFormcreatorQuestion"] textarea[name="values"]');

$authLdap = new \AuthLDAP();
$ldaps = $authLdap->find([], [], 1);
Expand Down

0 comments on commit db452c7

Please sign in to comment.