From d835def51336abb0a685f2cdfc9ef0c241eb37ba Mon Sep 17 00:00:00 2001 From: Spun Nakandala Date: Thu, 18 Jul 2013 18:35:23 +0530 Subject: [PATCH] added missing parameter --- libraries/sql.lib.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/sql.lib.php b/libraries/sql.lib.php index 6ec9efa841..6356cc2a64 100644 --- a/libraries/sql.lib.php +++ b/libraries/sql.lib.php @@ -1919,10 +1919,11 @@ function PMA_getMessageIfMissingColumnIndex($table, $db, $editable, $disp_mode) * * @param string $query_type query type * @param boolean $selected selected + * @param string $db current database * * @return void */ -function PMA_getHtmlForIndexesProblems($query_type, $selected) +function PMA_getHtmlForIndexesProblems($query_type, $selected, $db) { // BEGIN INDEX CHECK See if indexes should be checked. if (isset($query_type) @@ -2107,7 +2108,7 @@ function PMA_sendResponseForResultsReturned($result, $justBrowsing, $indexes_problems_html = PMA_getHtmlForIndexesProblems( isset($query_type) ? $query_type : null, - isset($selected) ? $selected : null + isset($selected) ? $selected : null, $db ); $bookmark_support_html = PMA_getHtmlForBookmark(