From 023c4442e03e3437262c1210c6bdbc43af1244dc Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 8 Sep 2008 17:10:58 +0000 Subject: [PATCH] bug #2100624 Wrong reference to old message strViewMaxExactCount --- libraries/Table.class.php | 2 +- libraries/display_tbl.lib.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 3e8af1746..acb806761 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -466,7 +466,7 @@ class PMA_Table echo PMA_formatNumber($row_count, 0); if ($is_view) { echo ' ' - . sprintf($GLOBALS['strViewMaxExactCount'], + . sprintf($GLOBALS['strViewHasAtLeast'], $GLOBALS['cfg']['MaxExactCount'], '[a@./Documentation.html#cfg_MaxExactCount@_blank]', '[/a]'); } diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index c0cff8b49..36f599a08 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -1850,8 +1850,7 @@ function PMA_displayTable(&$dt_result, &$the_disp_mode, $analyzed_sql) if (PMA_Table::isView($db, $table) && $total == $GLOBALS['cfg']['MaxExactCountViews']) { - $message = PMA_Message::notice('strViewMaxExactCount'); - $message->addParam($GLOBALS['cfg']['MaxExactCountViews']); + $message = PMA_Message::notice('strViewHasAtLeast'); $message->addParam('[a@./Documentation.html#cfg_MaxExactCount@_blank]'); $message->addParam('[/a]'); $message_view_warning = PMA_showHint($message);