diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_url.class b/it_url.class index 0b90b1b..f00f5b6 100644 --- a/it_url.class +++ b/it_url.class @@ -623,9 +623,9 @@ static function get_cache($p = array()) $dstpath = "$path.preprocesstmp"; if (is_array($p['preprocess']) && $p['preprocess']['function']) # Needs is_array as it can be a string where dereferencing gives first character! - call_user_func($p['preprocess']['function'], array('in' => $srcpath, 'out' => $dstpath) + $p['preprocess']); + $p['preprocess']['function'](['in' => $srcpath, 'out' => $dstpath] + $p['preprocess']); else - call_user_func($p['preprocess'], $srcpath, $dstpath); + $p['preprocess']($srcpath, $dstpath); if (!($success = @filesize($dstpath) && @rename($dstpath, $path))) { |