Changeset 2200

Show
Ignore:
Timestamp:
04/24/08 20:23:55 (3 weeks ago)
Author:
anarcat
Message:

correct usage of array_unshift

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/class/m_err.php

    r2199 r2200  
    9696      $str = _("err_".$this->clsid."_".$this->error)."\n"; 
    9797    } 
    98     $args = array_unshift($this->param, $str); 
     98    $args = $this->param; 
     99    array_unshift($args, $str); 
    99100    $msg = call_user_func_array("sprintf", $args); 
    100101    return $msg;