Plugin Directory

Changeset 2357049


Ignore:
Timestamp:
08/11/2020 10:04:26 AM (6 years ago)
Author:
79mplus
Message:
  • Fix PHP error.
  • Update get access token page link in settings page.
Location:
mplus-intercom-subscription/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mplus-intercom-subscription/trunk/includes/helper-function.php

    r2246576 r2357049  
    8787 */
    8888function get_all_company_list() {
    89     $intercom = Mplus_Intercom_Subscription_Core::get_client();
     89    $intercom          = Mplus_Intercom_Subscription_Core::get_client();
    9090    $companies_options = array();
     91    $company           = $intercom->companies->getCompanies( [ 'per_page' => 50 ] );
    9192
    92     $company = $intercom->companies->getCompanies( [] );
    93 
    94     if( property_exists( $company, 'data' ) ):
    95         $companies = $company->data;
     93    if( property_exists( $company, 'companies' ) ):
     94        $companies = $company->companies;
    9695        $companies_options[] = 'Select Company';
    9796        foreach ( $companies as $company ) :
  • mplus-intercom-subscription/trunk/readme.txt

    r2246576 r2357049  
    44Tags: intercom, email, newsletter, marketing, user base, grow, communication
    55Requires at least: 4.6
    6 Tested up to: 5.3
     6Tested up to: 5.4
    77Stable tag: trunk
    88Requires PHP: 7.2
Note: See TracChangeset for help on using the changeset viewer.