better 'fix' against bug #585094

This commit is contained in:
Loïc Chapeaux
2002-07-26 08:36:42 +00:00
parent d94f6a191f
commit d972220ce6
2 changed files with 5 additions and 2 deletions

View File

@@ -6,7 +6,9 @@ $Id$
$Source$ $Source$
2002-07-25 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-07-25 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/sqlparser.lib.php3: PHP3 parse errors fixed, * libraries/sqlparser.lib.php3: PHP3 parse errors fixed.
* header.inc.php3, lines 155-156: better "fix" against bug
#585094 (Runtime Error on Line 62).
2002-07-24 Robin Johnson <robbat2@users.sourceforge.net> 2002-07-24 Robin Johnson <robbat2@users.sourceforge.net>
* config.inc.php3: * config.inc.php3:

View File

@@ -152,7 +152,8 @@ $title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
<!-- <!--
// Updates the title of the frameset if possible (ns4 does not allow this) // Updates the title of the frameset if possible (ns4 does not allow this)
if (typeof(parent.document) != 'undefined' && typeof(parent.document.title) == 'string') { if (typeof(parent.document) != 'undefined' && typeof(parent.document) == 'unknown'
&& typeof(parent.document.title) == 'string') {
parent.document.title = '<?php echo $title; ?>'; parent.document.title = '<?php echo $title; ?>';
} }
<?php <?php