Skip to content

Commit

Permalink
Fix coding style in libraries/rte/*
Browse files Browse the repository at this point in the history
Signed-off-by: Chirayu Chiripal <[email protected]>
  • Loading branch information
chirayuchiripal committed Mar 7, 2015
1 parent ef4411c commit 70d5c7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libraries/rte/rte_export.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function PMA_RTN_handleExport()
{
global $_GET, $db;

if ( ! empty($_GET['export_item'])
if (! empty($_GET['export_item'])
&& ! empty($_GET['item_name'])
&& ! empty($_GET['item_type'])
) {
Expand Down
4 changes: 2 additions & 2 deletions libraries/rte/rte_routines.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ function PMA_RTN_getDataFromRequest()
$retval['item_param_length'] = array();
$retval['item_param_opts_num'] = array();
$retval['item_param_opts_text'] = array();
if ( isset($_REQUEST['item_param_name'])
if (isset($_REQUEST['item_param_name'])
&& isset($_REQUEST['item_param_type'])
&& isset($_REQUEST['item_param_length'])
&& isset($_REQUEST['item_param_opts_num'])
Expand Down Expand Up @@ -1149,7 +1149,7 @@ function PMA_RTN_getQueryFromRequest()
$warned_about_dir = false;
$warned_about_length = false;

if ( ! empty($_REQUEST['item_param_name'])
if (! empty($_REQUEST['item_param_name'])
&& ! empty($_REQUEST['item_param_type'])
&& ! empty($_REQUEST['item_param_length'])
&& is_array($_REQUEST['item_param_name'])
Expand Down

0 comments on commit 70d5c7a

Please sign in to comment.