We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d8a8c commit 2d4419cCopy full SHA for 2d4419c
manual/add-note.php
@@ -11,13 +11,16 @@
11
12
site_header("Add Manual Note", ['css' => 'add-note.css']);
13
14
-// Copy over "sect" and "redirect" from GET to POST
+// Copy over "sect", "redirect" and "repo" from GET to POST
15
if (empty($_POST['sect']) && isset($_GET['sect'])) {
16
$_POST['sect'] = $_GET['sect'];
17
}
18
if (empty($_POST['redirect']) && isset($_GET['redirect'])) {
19
$_POST['redirect'] = $_GET['redirect'];
20
21
+if (empty($_POST['repo']) && isset($_GET['repo'])) {
22
+ $_POST['repo'] = $_GET['repo'];
23
+}
24
// Assume English if we didn't get a language
25
if (empty($_POST['repo'])) {
26
$_POST['repo'] = 'en';
0 commit comments