Bug when ledger badly parametrized
This commit is contained in:
parent
6c4a4156a4
commit
bbf995e827
4 changed files with 21 additions and 9 deletions
|
|
@ -73,9 +73,11 @@ if ( $typecard == 'all')
|
|||
else if (strpos($typecard,'sql]')==true)
|
||||
{
|
||||
$filter_card= str_replace('[sql]', " and ", $typecard);
|
||||
} else
|
||||
} else
|
||||
{
|
||||
$typecard=(empty($typecard))?-1:sql_string($typecard);
|
||||
$filter_card="and fd_id in ($typecard)";
|
||||
|
||||
}
|
||||
if ( $jrn != -1 )
|
||||
{
|
||||
switch ($typecard)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue