From b192f86d84866fab1d7c440d9dad35798f352353 Mon Sep 17 00:00:00 2001
From: Arthur Schiwon
Date: Thu, 1 Mar 2012 14:21:38 +0100
Subject: [PATCH] LDPA: fix setting variables and add missing ones to the array
---
apps/user_ldap/settings.php | 2 +-
apps/user_ldap/templates/settings.php | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php
index 01c5b1749e..ad44fe95f9 100644
--- a/apps/user_ldap/settings.php
+++ b/apps/user_ldap/settings.php
@@ -20,7 +20,7 @@
* License along with this library. If not, see .
*
*/
-$params = array('ldap_host', 'ldap_port', 'ldap_dn', 'ldap_password', 'ldap_base', 'ldap_userlist_filter', 'ldap_login_filter', 'ldap_display_name', 'ldap_tls', 'ldap_nocase');
+$params = array('ldap_host', 'ldap_port', 'ldap_dn', 'ldap_password', 'ldap_base', 'ldap_userlist_filter', 'ldap_login_filter', 'ldap_display_name', 'ldap_tls', 'ldap_nocase'. 'ldap_quota_def', 'ldap_quota_attr', 'ldap_email_attr');
if ($_POST) {
foreach($params as $param){
diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php
index 69b9c17181..828c72cba9 100644
--- a/apps/user_ldap/templates/settings.php
+++ b/apps/user_ldap/templates/settings.php
@@ -13,9 +13,9 @@
t('Currently the display name field needs to be the same you matched %%uid against in the filter above, because ownCloud doesn\'t distinguish between user id and user name.');?>