Greetings, together with Bass-Driver, we found a solution to the error found in a code previously shared in the forum. Below you can see the problematic code and the code with the problem solved.
problematic code
solved code
problematic code
<?php
$value = "cash"; #NameOfStoredValue
$flagdesc = "DESC";#DESC (descending order ) or ASC (ascending order)
$flagNear = "FALSE"; #TRUE or FALSE
$StartPos = 1;
getlisttopuser($value,$flagdesc,$flagNear,$StartPos);
?>
<?php
$value = "cash"; #NameOfStoredValue
$flagdesc = "DESC";#DESC (descending order ) or ASC (ascending order)
$flagNear = FALSE; #In this section, you must enter true or false without using "" or use the numbers 0 and 1.
$StartPos = 1;
getlisttopuser($value,$flagdesc,$flagNear,$StartPos);
?>