fixed warnings
This commit is contained in:
@@ -12,6 +12,7 @@ $Source$
|
|||||||
* main.php3, lines 11-13: new fix against bug #571409 (it doesn't work
|
* main.php3, lines 11-13: new fix against bug #571409 (it doesn't work
|
||||||
properly with Zend Accelerator).
|
properly with Zend Accelerator).
|
||||||
* libraries/relation.lib.php3, lines 70 & 79: PHP3 fix.
|
* 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>
|
2002-09-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/display_tbl.lib.php3: bug 601809: when two fields have the
|
* libraries/display_tbl.lib.php3: bug 601809: when two fields have the
|
||||||
|
@@ -474,7 +474,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|||||||
. '&disp_direction=' . $disp_direction
|
. '&disp_direction=' . $disp_direction
|
||||||
. '&repeat_cells=' . $repeat_cells
|
. '&repeat_cells=' . $repeat_cells
|
||||||
. '&goto=' . $goto
|
. '&goto=' . $goto
|
||||||
. '&dontlimitchars=' . (($dontlimitchars) ? 0 : 1);
|
. '&dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1);
|
||||||
|
|
||||||
// ... before the result table
|
// ... before the result table
|
||||||
if (($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
|
if (($is_display['edit_lnk'] == 'nn' && $is_display['del_lnk'] == 'nn')
|
||||||
@@ -618,7 +618,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|||||||
. '&session_max_rows=' . $session_max_rows
|
. '&session_max_rows=' . $session_max_rows
|
||||||
. '&disp_direction=' . $disp_direction
|
. '&disp_direction=' . $disp_direction
|
||||||
. '&repeat_cells=' . $repeat_cells
|
. '&repeat_cells=' . $repeat_cells
|
||||||
. '&dontlimitchars=' . $dontlimitchars
|
. '&dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1)
|
||||||
. '&sql_query=' . urlencode($sorted_sql_query);
|
. '&sql_query=' . urlencode($sorted_sql_query);
|
||||||
|
|
||||||
// 2.1.5 Displays the sorting url
|
// 2.1.5 Displays the sorting url
|
||||||
@@ -924,7 +924,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
|
|||||||
. '&session_max_rows=' . $session_max_rows
|
. '&session_max_rows=' . $session_max_rows
|
||||||
. '&disp_direction=' . $disp_direction
|
. '&disp_direction=' . $disp_direction
|
||||||
. '&repeat_cells=' . $repeat_cells
|
. '&repeat_cells=' . $repeat_cells
|
||||||
. '&dontlimitchars=' . $dontlimitchars;
|
. '&dontlimitchars=' . (empty($dontlimitchars) ? 0 : 1);
|
||||||
|
|
||||||
// 1.2.1 Modify link(s)
|
// 1.2.1 Modify link(s)
|
||||||
if ($is_display['edit_lnk'] == 'ur') { // update row case
|
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
|
// the default second parameter of
|
||||||
// mysql_fetch_array() is MYSQL_BOTH, so we always get
|
// mysql_fetch_array() is MYSQL_BOTH, so we always get
|
||||||
// associative and numeric indices?
|
// associative and numeric indices?
|
||||||
|
|
||||||
//if (!isset($row[$meta->name])
|
//if (!isset($row[$meta->name])
|
||||||
if (!isset($row[$pointer])
|
if (!isset($row[$pointer])
|
||||||
|| (function_exists('is_null') && is_null($row[$pointer]))) {
|
|| (function_exists('is_null') && is_null($row[$pointer]))) {
|
||||||
|
Reference in New Issue
Block a user