Skip to content

Commit

Permalink
Fix scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Feb 1, 2018
1 parent ed3bcf5 commit 6e446cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/commande/class/api_orders.class.php
Expand Up @@ -153,6 +153,7 @@ function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, $page =
{
$num = $db->num_rows($result);
$min = min($num, ($limit <= 0 ? $num : $limit));
$i=0;
while ($i < $min)
{
$obj = $db->fetch_object($result);
Expand Down Expand Up @@ -276,7 +277,7 @@ function postLine($id, $request_data = NULL) {
$request_data->product_type,
$request_data->rang,
$request_data->special_code,
$fk_parent_line,
$request_data->fk_parent_line,
$request_data->fk_fournprice,
$request_data->pa_ht,
$request_data->label,
Expand Down

0 comments on commit 6e446cc

Please sign in to comment.