Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chetcuti committed Feb 8, 2019
1 parent 5115524 commit 1430f56
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bulk/index.php
Expand Up @@ -1933,6 +1933,12 @@

}

} else {

// Casting $new_active as int sets it to 0 on first load, which sets the default status to 'Expired'. The below
// line sets the default to 'Active' instead.
if ($action == "AD") $new_active = 1;

}
?>
<?php require_once DIR_INC . '/doctype.inc.php'; ?>
Expand Down
6 changes: 6 additions & 0 deletions domains/add.php
Expand Up @@ -307,6 +307,12 @@

}

} else {

// Casting $new_active as int sets it to 0 on first load, which sets the default status to 'Expired'. The below
// line sets the default to 'Active' instead.
$new_active = 1;

}
?>
<?php require_once DIR_INC . '/doctype.inc.php'; ?>
Expand Down
6 changes: 6 additions & 0 deletions ssl/add.php
Expand Up @@ -264,6 +264,12 @@

}

} else {

// Casting $new_active as int sets it to 0 on first load, which sets the default status to 'Expired'. The below
// line sets the default to 'Active' instead.
$new_active = 1;

}
?>
<?php require_once DIR_INC . '/doctype.inc.php'; ?>
Expand Down

0 comments on commit 1430f56

Please sign in to comment.