🐛 Fix subscribers loading issue

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-08-10 16:27:22 +01:00
parent cf61b081c0
commit 1a5565c3df
4 changed files with 7 additions and 163 deletions

View File

@@ -19,11 +19,11 @@
$alert = array("danger", "Failed to add subscriber: " . $e->getMessage());
}
}
$newURL = "/managesub?rid=" . $request['uuid'];
$newURL = "/editsub?rid=" . $request['uuid'];
echo("<script>window.location = '$newURL'</script>");
} else {
$alert = array("danger", "You are not authorised to manage subscribers on this request.");
$newURL = "/managesub?rid=" . $request['uuid'];
$newURL = "/editsub?rid=" . $request['uuid'];
echo("<script>window.location = '$newURL'</script>");
}

View File

@@ -21,11 +21,11 @@
}
}
}
$newURL = "/managesub?rid=" . $request['uuid'];
$newURL = "/editsub?rid=" . $request['uuid'];
echo("<script>window.location = '$newURL'</script>");
} else {
$alert = array("danger", "You are not authorised to manage subscribers on this request.");
$newURL = "/managesub?rid=" . $request['uuid'];
$newURL = "/editsub?rid=" . $request['uuid'];
echo("<script>window.location = '$newURL'</script>");
}