Skip to content

Commit 01f64df

Browse files
committed
fixed initializing of $request in Issue::attach()
1 parent 99d3539 commit 01f64df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Redmine/Api/Issue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ private function cleanParams(array $params = array())
265265
*/
266266
public function attach($id, array $attachment)
267267
{
268+
$request = array();
268269
$request['issue'] = array(
269270
'id' => $id,
270271
'uploads' => array(

0 commit comments

Comments
 (0)