Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
BUG: refs #876. Replaced itemid param with $itemId from token.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Grauer committed Nov 14, 2012
1 parent 4cea3b4 commit f3655ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/controllers/components/ApiComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ function uploadPerform($args)
{
throw new Exception('Invalid user id from upload token', MIDAS_INVALID_PARAMETER);
}
$item = $itemModel->load($args['itemid']);
$item = $itemModel->load($itemid);

if($item == false)
{
Expand Down

0 comments on commit f3655ff

Please sign in to comment.