Plugin Directory

Changeset 2905572


Ignore:
Timestamp:
04/28/2023 09:44:05 AM (3 years ago)
Author:
curbon
Message:

Warnings & Error Removed and Security Updates

Location:
curbon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • curbon/tags/1.0.0/curbon-constant.php

    r2813999 r2905572  
    150150
    151151    if (! defined('CURBON_SUB_PRICE') ) {
    152         define('CURBON_SUB_PRICE', $curbon_config['plugin']['sub_price']);
     152        define('CURBON_SUB_PRICE', 0);
    153153    }   
    154154
    155155    /*Minimum top up amount*/
    156     if (! defined('CURBON_MINIMUM_TOP_UP_AMOUNT') ) {
    157         if ($curbon_settings['curbon_card_management_prefered_topup']) {
     156    if (!defined('CURBON_MINIMUM_TOP_UP_AMOUNT') ) {
     157        if (isset($curbon_settings['curbon_card_management_prefered_topup'])) {
    158158            define(
    159159                'CURBON_MINIMUM_TOP_UP_AMOUNT',
  • curbon/trunk/curbon-constant.php

    r2813999 r2905572  
    150150
    151151    if (! defined('CURBON_SUB_PRICE') ) {
    152         define('CURBON_SUB_PRICE', $curbon_config['plugin']['sub_price']);
     152        define('CURBON_SUB_PRICE', 0);
    153153    }   
    154154
    155155    /*Minimum top up amount*/
    156     if (! defined('CURBON_MINIMUM_TOP_UP_AMOUNT') ) {
    157         if ($curbon_settings['curbon_card_management_prefered_topup']) {
     156    if (!defined('CURBON_MINIMUM_TOP_UP_AMOUNT') ) {
     157        if (isset($curbon_settings['curbon_card_management_prefered_topup'])) {
    158158            define(
    159159                'CURBON_MINIMUM_TOP_UP_AMOUNT',
Note: See TracChangeset for help on using the changeset viewer.