diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index efb637e4..36b6a451 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -2,6 +2,7 @@ /** Print select result * @param Min_Result * @param Min_DB connection to examine indexes +* @param string base link for
") { while ($row = $result->fetch_assoc()) { $return[] = $row; } - } elseif (!$result && $error && defined("PAGE_HEADER")) { + } elseif ($connection->error && $error && defined("PAGE_HEADER")) { echo $error . error() . "\n"; } return $return;