1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/14285] Rename argument from file to id

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-07-14 12:06:01 +02:00
committed by rubencm
parent 4abdabe6f4
commit 6232401dd7
3 changed files with 5 additions and 5 deletions

View File

@@ -59,9 +59,9 @@ class attachment extends controller
$this->user = $user;
}
public function handle($file)
public function handle($id)
{
$attach_id = (int) $file;
$attach_id = (int) $id;
$mode = $this->request->variable('mode', '');
$thumbnail = $this->request->variable('t', false);