To avoid a notice on undefined variable
This commit is contained in:
1
sql.php
1
sql.php
@@ -394,6 +394,7 @@ if (strlen($db)) {
|
|||||||
if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
|
if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
|
||||||
unset($result);
|
unset($result);
|
||||||
$num_rows = 0;
|
$num_rows = 0;
|
||||||
|
$unlim_num_rows = 0;
|
||||||
} else {
|
} else {
|
||||||
if (isset($_SESSION['profiling']) && PMA_profilingSupported()) {
|
if (isset($_SESSION['profiling']) && PMA_profilingSupported()) {
|
||||||
PMA_DBI_query('SET PROFILING=1;');
|
PMA_DBI_query('SET PROFILING=1;');
|
||||||
|
Reference in New Issue
Block a user