Fix var not initialized
This commit is contained in:
parent
eded4c9e35
commit
e38427a41f
@ -420,6 +420,6 @@ class modAgenda extends DolibarrModules
|
||||
$this->export_sql_end[$r] .=' WHERE ac.entity IN ('.getEntity('agenda').')';
|
||||
if (empty($user->rights->societe->client->voir)) $this->export_sql_end[$r] .=' AND (sc.fk_user = '.(empty($user)?0:$user->id).' OR ac.fk_soc IS NULL)';
|
||||
if (empty($user->rights->agenda->allactions->read)) $this->export_sql_end[$r] .=' AND acr.fk_element = '.(empty($user)?0:$user->id);
|
||||
$this->export_sql_order[$r] .=' ORDER BY ac.datep';
|
||||
$this->export_sql_order[$r] =' ORDER BY ac.datep';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user