When adding a gateway default it to enabled.

This commit is contained in:
Mark Crane 2013-09-28 16:42:07 +00:00
parent 6d17ac2265
commit ab688a979a
1 changed files with 3 additions and 0 deletions

View File

@ -331,6 +331,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset ($prep_statement);
}
//set defaults
if (strlen($enabled) == 0) { $enabled = "true"; }
//show the header
require_once "resources/header.php";