From cc4ace1f22921439d1fd7ec6cb23316c76d53bd6 Mon Sep 17 00:00:00 2001 From: Adnan Date: Wed, 21 Jul 2010 16:08:48 +0500 Subject: [PATCH] Export Relation Schema: fixing notices --- export_relation_schema.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/export_relation_schema.php b/export_relation_schema.php index b21ed8030..c2608f826 100644 --- a/export_relation_schema.php +++ b/export_relation_schema.php @@ -71,7 +71,7 @@ if ($cfgRelation['pdfwork']) { * User object created for presenting the HTML options * so, user can interact with it and perform export of relations schema */ - + require_once './libraries/schema/User_Schema.class.php'; $user_schema = new PMA_User_Schema(); @@ -84,8 +84,10 @@ if ($cfgRelation['pdfwork']) { * @param string $do It tells what the Schema is supposed to do * create and select a page, generate schema etc */ - - $user_schema->processUserPreferences($_REQUEST['do']); + if(isset($_REQUEST['do'])){ + $user_schema->setAction($_REQUEST['do']); + $user_schema->processUserPreferences(); + } /** * Show some possibility to select a page for the export of relation schema