From b8dc934baaab2a604d456cf65f127364d9ca013a Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 26 Aug 2006 17:20:52 +0000 Subject: [PATCH] fixed table already exists problem during install and upgrade in Opera --- admin/config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/config.php b/admin/config.php index 6b30e86361..fd1694b239 100644 --- a/admin/config.php +++ b/admin/config.php @@ -53,15 +53,15 @@ if ($current = get_record('config', 'name', $name)) { $conf->id = $current->id; if (! update_record('config', $conf)) { - notify("Could not update $name to $value"); + error("Error: Could not update $name to $value"); } } else { if (! insert_record('config', $conf)) { - notify("Error: could not add new variable $name !"); + error("Error: could not add new variable $name !"); } } } - redirect('index.php', get_string('changessaved'), 1); + redirect('index.php'); exit; } else { -- 2.39.5