From 6128954231d175bbeafd5d5a6f2260fc232a47ac Mon Sep 17 00:00:00 2001 From: Ante de Baas Date: Fri, 29 May 2020 15:54:37 +0200 Subject: [PATCH] rename propery to property --- install/lib/class.FroxlorInstall.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/lib/class.FroxlorInstall.php b/install/lib/class.FroxlorInstall.php index 25b2f814..c270462b 100644 --- a/install/lib/class.FroxlorInstall.php +++ b/install/lib/class.FroxlorInstall.php @@ -507,7 +507,7 @@ class FroxlorInstall if (file_exists(dirname(__DIR__).'/../lib/configfiles/'.$this->_data['distribution'].'.xml')) { $xml = simplexml_load_file(dirname(__DIR__).'/../lib/configfiles/'.$this->_data['distribution'].'.xml'); - foreach($xml->distribution->defaults->propery as $property) { + foreach($xml->distribution->defaults->property as $property) { $this->_updateSetting($upd_stmt, $property->value[0], $property->group[0], $property->name[0]); } } else { @@ -1308,7 +1308,7 @@ class FroxlorInstall // post if (! empty($_POST['distribution'])) { $this->_data['distribution'] = $_POST['distribution']; - } else { + } else { $os_version = parse_ini_file('/etc/os-release', false); if ($os_version['ID'] == 'debian') {