From 68d799ac2004b5590794a2c5dd4adecaecc43ddb Mon Sep 17 00:00:00 2001 From: Spun Nakandala Date: Wed, 17 Apr 2013 00:06:29 +0530 Subject: [PATCH] Corrected according to the pear coding standards --- tbl_addfield.php | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/tbl_addfield.php b/tbl_addfield.php index 5cc6a30d01..83afb79e37 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -1,6 +1,7 @@ addParam($table); if ($GLOBALS['is_ajax_request'] == true) { @@ -208,7 +219,8 @@ if (isset($_REQUEST['do_save_data'])) { } // An error happened while inserting/updating a table definition. // to prevent total loss of that data, we embed the form once again. - // The variable $regenerate will be used to restore data in libraries/tbl_columns_definition_form.inc.php + // The variable $regenerate will be used to restore data in libraries/ + // tbl_columns_definition_form.inc.php $num_fields = $_REQUEST['orig_num_fields']; if (isset($_REQUEST['orig_after_field'])) { $_REQUEST['after_field'] = $_REQUEST['orig_after_field'];