mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
fixed "not working" save in Calendar >> Site config, gave a wrong, but not displayed, validation error
This commit is contained in:
parent
cf0f1c9cd2
commit
ed9513e846
@ -728,9 +728,9 @@ function calendar_purge_old($config)
|
||||
'calendar.calendar_boupdate.purge',
|
||||
(float)$config
|
||||
);
|
||||
}
|
||||
if(!$result)
|
||||
{
|
||||
$GLOBALS['config_error'] = 'Unable to schedule purge';
|
||||
if(!$result)
|
||||
{
|
||||
$GLOBALS['config_error'] = 'Unable to schedule purge';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
<!-- BEGIN header -->
|
||||
<p style="text-align: center; color: red; font-weight: bold;">{error}</p>
|
||||
<form method="POST" action="{action_url}">
|
||||
{hidden_vars}
|
||||
<table border="0" align="center">
|
||||
<tr class="th">
|
||||
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
|
||||
|
Loading…
Reference in New Issue
Block a user