mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Be sure not to select a cat if cat_id empty
This commit is contained in:
parent
63f2065f03
commit
4d1f6cf843
@ -95,7 +95,14 @@
|
||||
$this->qfields = $this->stock_contact_fields;# + $extrafields;# + $customfields;
|
||||
}
|
||||
|
||||
$buffer = $this->export_start_file($buffer,$cat_id);
|
||||
if (!empty($cat_id))
|
||||
{
|
||||
$buffer = $this->export_start_file($buffer,$cat_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
$buffer = $this->export_start_file($buffer);
|
||||
}
|
||||
|
||||
for ($i=0;$i<count($this->ids);$i++) {
|
||||
$buffer = $this->export_start_record($buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user