Explorar o código

Fixed bug where PayPal email could not be set.

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
749375041b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      views/settings.php

+ 1 - 1
views/settings.php

@@ -104,7 +104,7 @@
 				<div class="row mb-1">
 					<label class="col-sm-4 col-form-label" for="paypal-email">PayPal Email Address</label>
 					<div class="col-sm">
-						<input class="form-control" type="email" name="paypal-email" id="paypal-email" placeholder="Enter PayPal email address" value="<?=htmlspecialchars($user->paypal_email)?>" />
+						<input class="form-control" type="email" name="paypal_email" id="paypal-email" placeholder="Enter PayPal email address" value="<?=htmlspecialchars($user->paypal_email)?>" />
 					</div>
 				</div>