Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-06-03 19:10:47 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-06-03 19:10:47 +0400
commit6f9253b59e190c9e1ee8f1885c1e8c41b4fb8755 (patch)
tree66932de29d663a796540ab1c83def905d3016ea9 /index.php
parentddcb03fdc2a94d976ba4d1410d590634fe726e84 (diff)
Various coding style improvements
Diffstat (limited to 'index.php')
-rw-r--r--index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/index.php b/index.php
index 3f854dccc9..189819f177 100644
--- a/index.php
+++ b/index.php
@@ -52,12 +52,17 @@ if (! strlen($GLOBALS['db'])) {
} else {
$_GET['db'] = $GLOBALS['db'];
$_GET['table'] = $GLOBALS['table'];
- $main_target = ! empty($GLOBALS['goto']) ? $GLOBALS['goto'] : $GLOBALS['cfg']['DefaultTabTable'];
+ $main_target = ! empty($GLOBALS['goto'])
+ ? $GLOBALS['goto']
+ : $GLOBALS['cfg']['DefaultTabTable'];
}
$url_query = PMA_generate_common_url($_GET);
-if (! empty($_REQUEST['target']) && is_string($_REQUEST['target']) && in_array($_REQUEST['target'], $goto_whitelist)) {
+if (! empty($_REQUEST['target'])
+ && is_string($_REQUEST['target'])
+ && in_array($_REQUEST['target'], $goto_whitelist)
+) {
$main_target = $_REQUEST['target'];
}