Fixed a bug with php3

This commit is contained in:
Loïc Chapeaux
2001-07-20 23:25:46 +00:00
parent d9901f2f91
commit 4f4a1c3a51
2 changed files with 13 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-07-21 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* ob.lib.inc.php3, lines 50-54 & 73-76: fixed a bug with php3.
2001-07-20 Marc Delisle <lem9@users.sourceforge.net>
* HTTP compression patch thanks to Jeremy Brand <jeremy@nirvani.net>
header.inc.php3, footer.inc.php3, ob_lib.inc.php3

View File

@@ -1,4 +1,5 @@
<?php
/* $Id$ */
if(!defined("__OB_LIB_INC__"))
define("__OB_LIB_INC__", 1);
@@ -44,10 +45,14 @@
$retval = TRUE;
break;
default:
case 0:
$retval = FALSE;
break;
// loic1: php3 fix
default:
$retval = FALSE;
break;
}
return $retval;
}
@@ -64,9 +69,12 @@
$retval = TRUE;
break;
default:
case 0:
$retval = FALSE;
// loic1: php3 fix
default:
$retval = FALSE;
}
return $retval;
}