forked from extern/egroupware
Possible fix for no participants defined for an event.
This commit is contained in:
parent
6ee87cd2b7
commit
b6984859df
@ -566,7 +566,11 @@
|
|||||||
{
|
{
|
||||||
$error = 0;
|
$error = 0;
|
||||||
// do a little form verifying
|
// do a little form verifying
|
||||||
if ($event['title'] == '')
|
if (!$event['participants'])
|
||||||
|
{
|
||||||
|
$error = 43;
|
||||||
|
}
|
||||||
|
elseif ($event['title'] == '')
|
||||||
{
|
{
|
||||||
$error = 40;
|
$error = 40;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user