mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
If the passed tid = ' ', etc, set it to 'n'
This commit is contained in:
parent
088010eee3
commit
132cc41e5a
@ -551,6 +551,12 @@
|
||||
{
|
||||
list($stock_fields,$stock_fieldnames,$extra_fields) = $this->split_stock_and_extras($fields);
|
||||
|
||||
$fields['tid'] = trim($fields['tid']);
|
||||
if(empty($fields['tid']))
|
||||
{
|
||||
$fields['tid'] = 'n';
|
||||
}
|
||||
|
||||
if ($fields['lid'])
|
||||
{
|
||||
$lid[0] = 'lid,';
|
||||
|
Loading…
Reference in New Issue
Block a user