Automation Creation modal Fix

This commit is contained in:
JonatanRek
2019-08-23 14:30:46 +02:00
parent 11eae4932c
commit d6e09a20e9
3 changed files with 35 additions and 171 deletions

View File

@@ -6,9 +6,9 @@ if (isset($_POST) && !empty($_POST)){
$onDays = $_POST['atDays'];
AutomationManager::create('name', $onDays, $doCode, $ifCode);
}
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
die();
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
die();
}
}
?>