To avoid a notice on undefined variable

This commit is contained in:
Madhura Jayaratne
2011-09-29 21:14:11 +05:30
parent a9f2c38942
commit 55d1360b7e

View File

@@ -394,6 +394,7 @@ if (strlen($db)) {
if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
unset($result);
$num_rows = 0;
$unlim_num_rows = 0;
} else {
if (isset($_SESSION['profiling']) && PMA_profilingSupported()) {
PMA_DBI_query('SET PROFILING=1;');