Changeset 31591 in spip-zone


Ignore:
Timestamp:
Sep 15, 2009, 12:11:01 AM (10 years ago)
Author:
webmaster@…
Message:

Antibug pour un appel de call_user_function_array sans arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acs/inc/acs_cache.php

    r29797 r31591  
    3636  if (isset($args) && (!is_array($args)))
    3737    return array(_T('err_args_not_in_array').' : '.$fonction, 'err', $date);
    38 
     38       
     39  if ($args==null)
     40   $args = array(); // un array vide si pas d'arguments
    3941  $r = call_user_func_array($fonction, $args);
    4042  $cachestring = serialize(array(
Note: See TracChangeset for help on using the changeset viewer.