Skip to content

Commit

Permalink
fix possible undefined variable
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann (d00p) <[email protected]>
  • Loading branch information
d00p committed Jan 4, 2015
1 parent 378d66f commit 40d51dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@
$password = validate($_POST['new_customer_password'], 'new password');
$gender = intval_ressource($_POST['gender']);

$move_to_admin = intval_ressource($_POST['move_to_admin']);
$move_to_admin = isset($_POST['move_to_admin']) ? intval_ressource($_POST['move_to_admin']) : 0;

$diskspace = intval_ressource($_POST['diskspace']);
if (isset($_POST['diskspace_ul'])) {
Expand Down

0 comments on commit 40d51dc

Please sign in to comment.