bug 731480

This commit is contained in:
Marc Delisle
2003-05-02 19:38:38 +00:00
parent 40cbb52b7f
commit 3177fcc672
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-05-02 Marc Delisle <lem9@users.sourceforge.net>
* libraries/get_foreign.lib.php3: bug 731480: was not counting
the rows of the foreign, thanks to Stefan Elssner
2003-05-02 Garvin Hicking <me@supergarv.de> 2003-05-02 Garvin Hicking <me@supergarv.de>
* css/phpmyadmin.css.php3: Small typo, seems to be * css/phpmyadmin.css.php3: Small typo, seems to be
solution of support request #728820 solution of support request #728820

View File

@@ -27,7 +27,7 @@
// We could also do the SELECT anyway, with a LIMIT, and ensure that // We could also do the SELECT anyway, with a LIMIT, and ensure that
// the current value of the field is one of the choices. // the current value of the field is one of the choices.
$the_total = PMA_countRecords($db, $table, TRUE); $the_total = PMA_countRecords($foreign_db, $foreign_table, TRUE);
if ($the_total < 200) { if ($the_total < 200) {
// foreign_display can be FALSE if no display field defined: // foreign_display can be FALSE if no display field defined: