aboutsummaryrefslogtreecommitdiffstats
path: root/config/systempatches/system_patches_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/systempatches/system_patches_edit.php')
-rw-r--r--config/systempatches/system_patches_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/systempatches/system_patches_edit.php b/config/systempatches/system_patches_edit.php
index 32318620..a4038b05 100644
--- a/config/systempatches/system_patches_edit.php
+++ b/config/systempatches/system_patches_edit.php
@@ -75,8 +75,8 @@ if ($_POST) {
/* input validation */
if(empty($_POST['location'])) {
- $reqdfields = explode(" ", " patch");
- $reqdfieldsn = array(gettext("Description"),gettext("Patch Contents"));
+ $reqdfields = explode(" ", "patch");
+ $reqdfieldsn = array(gettext("Patch Contents"));
} else {
$reqdfields = explode(" ", "descr location");
$reqdfieldsn = array(gettext("Description"),gettext("URL/Commit ID"));