From eae75ba2360f43d920b8ee559b1a04e7bdd72ffc Mon Sep 17 00:00:00 2001
From: Andreas Boehler
Date: Fri, 30 Dec 2016 15:00:16 +0100
Subject: [PATCH] Fix a few typos
---
ajax/settings.php | 4 ++--
templates/settings.php | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ajax/settings.php b/ajax/settings.php
index 5a1df68..28e0e18 100644
--- a/ajax/settings.php
+++ b/ajax/settings.php
@@ -120,7 +120,7 @@ if(isset($_POST['appname']) && ($_POST['appname'] === 'user_sql') && isset($_POS
}
elseif($param === 'set_force_default_domain')
{
- \OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain'.$domain, 'true');
+ \OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain_'.$domain, 'true');
}
else
{
@@ -146,7 +146,7 @@ if(isset($_POST['appname']) && ($_POST['appname'] === 'user_sql') && isset($_POS
}
elseif($param === 'set_force_default_domain')
{
- \OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain'.$domain, 'false');
+ \OC::$server->getConfig()->setAppValue('user_sql', 'set_force_default_domain_'.$domain, 'false');
}
}
}
diff --git a/templates/settings.php b/templates/settings.php
index 19e0983..2718d9b 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -119,7 +119,7 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock';
t('Append this string, e.g. a domain name, to each user name. The @-sign is automatically inserted.')); ?>
- />