fixed warnings

This commit is contained in:
Loïc Chapeaux
2002-09-13 11:58:17 +00:00
parent ad976d1d8b
commit 28e7e9f9bb
2 changed files with 5 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ $Source$
* main.php3, lines 11-13: new fix against bug #571409 (it doesn't work
properly with Zend Accelerator).
* libraries/relation.lib.php3, lines 70 & 79: PHP3 fix.
* libraries/display_tbl.lib.php3: fixed warnings.
2002-09-12 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php3: bug 601809: when two fields have the

View File

@@ -474,7 +474,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;goto=' . $goto
. '&amp;dontlimitchars=' . (($dontlimitchars) ? 0 : 1);
. '&amp;dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1);
// ... before the result table
if (($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
@@ -618,7 +618,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;dontlimitchars=' . $dontlimitchars
. '&amp;dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1)
. '&amp;sql_query=' . urlencode($sorted_sql_query);
// 2.1.5 Displays the sorting url
@@ -924,7 +924,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
. '&amp;session_max_rows=' . $session_max_rows
. '&amp;disp_direction=' . $disp_direction
. '&amp;repeat_cells=' . $repeat_cells
. '&amp;dontlimitchars=' . $dontlimitchars;
. '&amp;dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1);
// 1.2.1 Modify link(s)
if ($is_display['edit_lnk'] == 'ur') { // update row case
@@ -1011,7 +1011,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
// the default second parameter of
// mysql_fetch_array() is MYSQL_BOTH, so we always get
// associative and numeric indices?
//if (!isset($row[$meta->name])
if (!isset($row[$pointer])
|| (function_exists('is_null') && is_null($row[$pointer]))) {