Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/05/2014 07:58:56 PM (11 years ago)
Author:
boonebgorges
Message:

Don't use func_get_args() as a function paramater

This should appease certain PHP 5.2 setups, including travis-ci

See #4294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-classes.php

    r7703 r7800  
    19941994     */
    19951995    public function walk( $elements, $max_depth ) {
    1996         $args   = array_slice( func_get_args(), 2 );
     1996        $func_args = func_get_args();
     1997
     1998        $args   = array_slice( $func_args, 2 );
    19971999        $output = '';
    19982000
Note: See TracChangeset for help on using the changeset viewer.