[Phpmyadmin-devel] Re: [Patch] Parse error with 3.0.12

Joshua Nye josh at boxcarmedia.com
Thu Feb 21 07:02:22 CET 2002


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 at 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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20020221/ecd34899/attachment.html>


More information about the Developers mailing list