forked from extern/egroupware
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',
|
'calendar.calendar_boupdate.purge',
|
||||||
(float)$config
|
(float)$config
|
||||||
);
|
);
|
||||||
}
|
|
||||||
if(!$result)
|
if(!$result)
|
||||||
{
|
{
|
||||||
$GLOBALS['config_error'] = 'Unable to schedule purge';
|
$GLOBALS['config_error'] = 'Unable to schedule purge';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!-- BEGIN header -->
|
<!-- BEGIN header -->
|
||||||
|
<p style="text-align: center; color: red; font-weight: bold;">{error}</p>
|
||||||
<form method="POST" action="{action_url}">
|
<form method="POST" action="{action_url}">
|
||||||
|
{hidden_vars}
|
||||||
<table border="0" align="center">
|
<table border="0" align="center">
|
||||||
<tr class="th">
|
<tr class="th">
|
||||||
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
|
<td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td>
|
||||||
|
Loading…
Reference in New Issue
Block a user