Plugin Directory

Changeset 1363738


Ignore:
Timestamp:
03/04/2016 01:24:26 AM (10 years ago)
Author:
abdul_ibad
Message:

update compatible to php 5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend-edit-profile/trunk/fep.php

    r1363737 r1363738  
    285285
    286286        if (!(is_array($fep_contact_methods))) {
    287             $fep_contact_methods = [];
    288         }
    289 
    290         $new_contact_methods = [];
     287            $fep_contact_methods = array();
     288        }
     289
     290        $new_contact_methods = array();
    291291
    292292        foreach ($contact_methods as $name => $desc) {
     
    333333
    334334        if (!(is_array($contact_methods))) {
    335             $contact_methods = [];
     335            $contact_methods = array();
    336336        }
    337337
     
    486486        $userpass = $_POST['pwd'];
    487487        $remember = $_POST['rememberme'];
    488         $creds = [];
     488        $creds = array();
    489489        $creds['user_login'] = $userlogin;
    490490        $creds['user_password'] = $userpass;
Note: See TracChangeset for help on using the changeset viewer.