summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-30 10:39:39 +0100
committerSimon Rettberg2023-10-30 10:39:39 +0100
commitd343cf904b49258748f52a8123831bd854a19b8a (patch)
tree9e803c424172f03e00d25de7f44b3bb7ea8ea622
parent[news] Fix copy paste error; set up FK constraint with proper table (diff)
downloadslx-admin-d343cf904b49258748f52a8123831bd854a19b8a.tar.gz
slx-admin-d343cf904b49258748f52a8123831bd854a19b8a.tar.xz
slx-admin-d343cf904b49258748f52a8123831bd854a19b8a.zip
[sysconfig] Add missing else
-rw-r--r--modules-available/sysconfig/inc/ppd.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/sysconfig/inc/ppd.inc.php b/modules-available/sysconfig/inc/ppd.inc.php
index e48f1652..8e125ed7 100644
--- a/modules-available/sysconfig/inc/ppd.inc.php
+++ b/modules-available/sysconfig/inc/ppd.inc.php
@@ -521,8 +521,9 @@ class Ppd
$this->warn($no, 'Required keyword ' . $mainKeyword . ' declared twice, ignoring');
continue;
}
+ } else {
+ $this->requiredKeywords[$mainKeyword] = array($value);
}
- $this->requiredKeywords[$mainKeyword] = array($value);
if (($err = $this->validateLine($this->REQUIRED_KEYWORDS[$mainKeyword], $optionKeyword, $value)) !== true) {
$this->warn($no, 'Required main keyword ' . $mainKeyword . ': ' . $err);
$this->knownKeywordMalformed = true;