mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Parameter could be declared as array.
This commit is contained in:
parent
2210705486
commit
72eb538a0a
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class upload_common
|
||||||
8 => 'tiff',
|
8 => 'tiff',
|
||||||
);
|
);
|
||||||
|
|
||||||
public function init($cfg = array(), $post_params = array(), $uploaded_only = true)
|
public function init(array $cfg = [], array $post_params = [], $uploaded_only = true)
|
||||||
{
|
{
|
||||||
global $bb_cfg, $lang;
|
global $bb_cfg, $lang;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue