fixed error message
This commit is contained in:
parent
beb9110a12
commit
1db11ea15b
|
@ -422,7 +422,7 @@ function saveSettings() {
|
||||||
// check new preferences
|
// check new preferences
|
||||||
$errors = array();
|
$errors = array();
|
||||||
if (!$conf->set_ServerURL($_POST['serverurl'])) {
|
if (!$conf->set_ServerURL($_POST['serverurl'])) {
|
||||||
$errors[] = array("ERROR", _("Server Address is empty!"));
|
$errors[] = array("ERROR", _("Server address is invalid!"));
|
||||||
}
|
}
|
||||||
if (!$conf->set_cacheTimeout($_POST['cachetimeout'])) {
|
if (!$conf->set_cacheTimeout($_POST['cachetimeout'])) {
|
||||||
$errors[] = array("ERROR", _("Cache timeout is invalid!"));
|
$errors[] = array("ERROR", _("Cache timeout is invalid!"));
|
||||||
|
|
Loading…
Reference in New Issue