Changeset 2270 for branches

Show
Ignore:
Timestamp:
11/29/10 20:59:20 (18 months ago)
Author:
petsagouris
Message:

[Branch 1.5] Added default value for thrid argument that caused problem when called from UserBase.php@line:679

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/functions/funcs.arrays.php

    r2169 r2270  
    156156 * @param array $array 
    157157 * @param string $str 
     158 * @param bool $reorder 
    158159 * @return array 
    159160 * @link http://php.net/manual/en/ref.array.php  - jan at hooda dot de 
    160161 */ 
    161 function array_remove($array, $str, $reorder) 
     162function array_remove($array, $str, $reorder=TRUE) 
    162163{ 
    163164        if (in_array($str, $array) == true) {