diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-06-03 19:10:47 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2012-06-03 19:10:47 +0400 |
commit | 6f9253b59e190c9e1ee8f1885c1e8c41b4fb8755 (patch) | |
tree | 66932de29d663a796540ab1c83def905d3016ea9 /index.php | |
parent | ddcb03fdc2a94d976ba4d1410d590634fe726e84 (diff) |
Various coding style improvements
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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']; } |