diff --git a/include/class_phpcompta_sql.php b/include/class_phpcompta_sql.php index 3b7a5f491..4d3210449 100644 --- a/include/class_phpcompta_sql.php +++ b/include/class_phpcompta_sql.php @@ -282,7 +282,7 @@ class phpcompta_sql */ public function get_object($p_ret,$idx) { - return $this->next($p_ret, $i); + return $this->next($p_ret, $idx); } }