From 47e3bb63b47a6b6eeae8e5a646274083bdab60db Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Fri, 23 May 2008 11:07:01 -0400 Subject: [PATCH] Fixed errors in dbsync form. --- interface/web/admin/dbsync_edit.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/web/admin/dbsync_edit.php b/interface/web/admin/dbsync_edit.php index b4ba43b..2c0b859 100644 --- a/interface/web/admin/dbsync_edit.php +++ b/interface/web/admin/dbsync_edit.php @@ -53,7 +53,7 @@ $app->tform->loadFormDef($tform_def_file); // ID importieren -$id = intval($_REQUEST["id"]); +$id = @intval($_REQUEST["id"]); if(count($_POST) > 1) { @@ -84,7 +84,7 @@ // Welcher Tab wird angezeigt if($app->tform->errorMessage == '') { // wenn kein Fehler vorliegt - if($_REQUEST["next_tab"] != '') { + if(isset($_REQUEST["next_tab"]) && $_REQUEST["next_tab"] != '') { // wenn n�chster Tab bekannt $active_tab = $_REQUEST["next_tab"]; } else { -- Gitblit v1.9.1