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:
authorDieter Adriaenssens <ruleant@users.sourceforge.net>2011-11-24 18:32:30 +0400
committerDieter Adriaenssens <ruleant@users.sourceforge.net>2011-11-24 18:32:30 +0400
commitf62c4a1809458008c778afac98e481f54def216b (patch)
tree880e098ccc8a79ec589f2229e5edbaed1a7db0f3 /sql.php
parent90bd76540c22cdc1fca5529cf00f7dbc694b6b51 (diff)
coding style : control structures
Diffstat (limited to 'sql.php')
-rw-r--r--sql.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/sql.php b/sql.php
index 9100def7a8..93b84da61d 100644
--- a/sql.php
+++ b/sql.php
@@ -777,10 +777,9 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . str_replace('&amp;', '&', $goto) . '&message=' . urlencode($message));
} // end else
exit();
-} // end no rows returned
-
-// At least one row is returned -> displays a table with results
-else {
+// end no rows returned
+} else {
+ // At least one row is returned -> displays a table with results
//If we are retrieving the full value of a truncated field or the original
// value of a transformed field, show it here and exit
if ($GLOBALS['grid_edit'] == true && $GLOBALS['cfg']['AjaxEnable']) {