Plugin Directory

Changeset 1826586


Ignore:
Timestamp:
02/22/2018 12:36:29 AM (8 years ago)
Author:
displetdev
Message:

php 7.1 fix

Location:
displetreader-wordpress-plugin/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • displetreader-wordpress-plugin/trunk/controller/users/leads/class-displet-rets-idx-viewed-searches-controller.php

    r1484175 r1826586  
    77            $user_id = get_current_user_id();
    88            if ( $user_id != 0 && current_user_can( 'displet_save_searches' ) && !current_user_can( self::$_capabilities['view_leads'] ) ) {
    9                 $user_searches = get_user_meta( $user_id, 'displet_user_hashes', true );
     9                $user_searches = (array) get_user_meta( $user_id, 'displet_user_hashes', true );
    1010                $user_searches[] = $_POST['last_hash'];
    1111                $user_searches_count = count( $user_searches );
  • displetreader-wordpress-plugin/trunk/readme.txt

    r1785784 r1826586  
    66Tags: real estate, rets, idx, listings, realty, mls, agent, realtor
    77Requires at least: 3.2
    8 Tested up to: 4.4.1
    9 Stable tag: 2.2.5
     8Tested up to: 4.9.4
     9Stable tag: 2.2.6
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 2.2.6 =
     44* Fixed error due to PHP 7.1 incompatibility
    4245
    4346= 2.2.5 =
Note: See TracChangeset for help on using the changeset viewer.