domain ldap typo fix

This commit is contained in:
SJ 2013-08-26 23:17:09 +02:00
parent 98c15c4ff1
commit da9c965413
3 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class ControllerDomainDomain extends Controller {
$this->load->model('domain/domain');
if(ENABLE_SAAS == 1) {
$this->load->model('saas/ldap');
$this->data['ldap'] = $this->model_saas_ldap->get();
$this->data['ldap'] = $this->model_saas_ldap->search();
if ( isset($this->request->post['ldap_id']) ) {
$ldap_id = $this->request->post['ldap_id'];
} else {

View File

@ -48,6 +48,7 @@
<label class="control-label" for="ldap_id"><?php print $text_ldap; ?>:</label>
<div class="controls">
<select name="ldap_id" id="ldap_id">
<option value="0"></option>
<?php foreach ($ldap as $l) { ?>
<option value="<?php print $l['id']; ?>"><?php print $l['description']; ?></option>
<?php } ?>

View File

@ -37,6 +37,7 @@
<div class="domaincell"><?php print $text_ldap; ?>:</div>
<div class="domaincell">
<select name="ldap_id" id="ldap_id">
<option value="0"></option>
<?php foreach ($ldap as $l) { ?>
<option value="<?php print $l['id']; ?>"><?php print $l['description']; ?></option>
<?php } ?>