Update index.php

pull/2487/head
Enrique Alcaraz 7 years ago committed by GitHub
parent dd0d48708b
commit ce3d38a580
  1. 5
      plugin/redirection/index.php

@ -13,8 +13,7 @@ if (isset($_REQUEST["id"])) {
PluginRedirection::delete($_REQUEST["id"]);
header ("Location: index.php");
exit();
}
else if (isset($_POST["submit_button"])) {
} elseif (isset($_POST["submit_button"])) {
PluginRedirection::insert($_POST["user_id"], $_POST["url"]);
header ("Location: index.php");
exit();
@ -54,4 +53,4 @@ else if (isset($_POST["submit_button"])) {
}
?>
</table>
</div>
</div>

Loading…
Cancel
Save