Changeset 25113


Ignore:
Timestamp:
10/24/13 10:42:36 (6 years ago)
Author:
mistic100
Message:

feature 2978: error func_get_args(): Can't be used as a function parameter on PHP <= 5.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r25018 r25113  
    925925  if (func_num_args() > 1) 
    926926  { 
    927     $val = vsprintf($val, array_slice(func_get_args(), 1)); 
     927    $args = func_get_args(); 
     928    $val = vsprintf($val, array_slice($args, 1)); 
    928929  } 
    929930 
Note: See TracChangeset for help on using the changeset viewer.