Where is $defpay used?

7 views
Skip to first unread message

Ap.Muthu

unread,
Oct 23, 2013, 11:23:47 PM10/23/13
to Justin James Kelly, SI Group
Hi Justin,

The following code fragment from modules/system_defaults/edit.php lines
210-213 refer to a variable $defpay that does not seem to be used anywhere:

else if ($_GET["submit"] == "def_payment_type") {

$defpay = getDefaultPaymentType();
$payments = getActivePaymentTypes();



Regards,
Ap.Muthu

Justin Kelly

unread,
Oct 23, 2013, 11:38:07 PM10/23/13
to Ap.Muthu, SI Group
if its working fine - just delete that line

Ap.Muthu

unread,
Oct 26, 2013, 5:03:39 PM10/26/13
to Justin Kelly, SI Group

Justin Kelly

unread,
Oct 26, 2013, 11:59:27 PM10/26/13
to Ap. Muthu, SI Group

Thanks

Reply all
Reply to author
Forward
0 new messages