Skip to content

Commit

Permalink
update allegro
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Ligęza committed Jul 16, 2012
1 parent 7d89721 commit 4901f5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Tools/Allegro/allegro.php
Expand Up @@ -54,7 +54,13 @@ public function __construct()

$count = $client->doMyAccountItemsCount($session['session-handle-part'], $config['account_type'], array());

$auctions = $client->doMyAccount2($session['session-handle-part'], 'sold', 0, array() );
$auctions = $client->doMyAccount2($session['session-handle-part'], 'sold', 0, array() );

if(count($auctions) == 0) {
header('Access-Control-Allow-Origin: *');
echo json_encode($auctions);
exit();
}

foreach($auctions as $auction)
{
Expand Down

0 comments on commit 4901f5f

Please sign in to comment.