mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
Tring to fix delete from config errors, add some code to limit the error reporting
This commit is contained in:
parent
d463ead260
commit
39c372fe04
@ -38,7 +38,7 @@
|
||||
echo "<center>phpGroupWare version " . $phpgw_info["server"]["version"] . " setup</center><p>";
|
||||
|
||||
if ($submit) {
|
||||
$db->query("delete from config");
|
||||
@$db->query("delete from config");
|
||||
while ($newsetting = each($newsettings)) {
|
||||
if ($newsetting[0] == "nntp_server") {
|
||||
$db->query("select config_value FROM config WHERE config_name='nntp_server'");
|
||||
@ -56,8 +56,8 @@
|
||||
echo "<center>Your config has been updated<br><a href='".$newsettings["webserver_url"]."/login.php'>Click here to login</a>";
|
||||
}
|
||||
|
||||
$db->query("select * from config");
|
||||
while ($db->next_record()) {
|
||||
@$db->query("select * from config");
|
||||
while (@$db->next_record()) {
|
||||
$current_config[$db->f("config_name")] = $db->f("config_value");
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user