Skip to content

Commit

Permalink
Merge pull request #347 from mattgu74/POSS3_category
Browse files Browse the repository at this point in the history
Non uniformite des bom Product et Category
  • Loading branch information
apuyou committed Apr 30, 2014
2 parents ec46c6b + c04a57e commit fe34ec7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Payutc/Service/POSS3.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ public function getArticles($fun_id)
public function getCategories($fun_id)
{
$this->checkRight(true, true, true, $fun_id);
return Category::getAll(array('fun_ids'=>array($fun_id,)));
return Category::getAll(array($fun_id,));
}


/** Annulation d'un achat
* 1. Récupére l'achat
* 2. Vérifie que le vendeur est le bon, ainsi que la vente à été réalisé il y'a moins de X temps
Expand Down

0 comments on commit fe34ec7

Please sign in to comment.