Fixes a parse error with PHP 3. I'm using 3.0.12. Might happen in other versions.
-Josh
--- ../../phpMyAdmin-2.2.4/libraries/display_tbl.lib.php3 Sun Feb 10 04:29:50 2002 +++ display_tbl.lib.php3 Thu Feb 21 09:57:40 2002 @@ -662,7 +662,8 @@ * * @see PMA_displayTable() */ - function PMA_displayTableBody(&$dt_result, &$is_display, $map = array()) + + function PMA_displayTableBody($dt_result, $is_display, $map) { global $lang, $server, $db, $table; global $goto;
Oops.. forgot to put the &'s back on the first two args and add an is_array check in compensate for the lack of a default argument value.
-Josh, in much haste ----- Original Message ----- From: Joshua Nye To: phpmyadmin-devel@lists.sourceforge.net Sent: Thursday, February 21, 2002 9:57 AM Subject: [Phpmyadmin-devel] [Patch] Parse error with 3.0.12
Fixes a parse error with PHP 3. I'm using 3.0.12. Might happen in other versions.
-Josh
--- ../../phpMyAdmin-2.2.4/libraries/display_tbl.lib.php3 Sun Feb 10 04:29:50 2002 +++ display_tbl.lib.php3 Thu Feb 21 09:57:40 2002 @@ -662,7 +662,8 @@ * * @see PMA_displayTable() */ - function PMA_displayTableBody(&$dt_result, &$is_display, $map = array()) + + function PMA_displayTableBody($dt_result, $is_display, $map) { global $lang, $server, $db, $table; global $goto;