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

@@ -152,7 +152,8 @@ $title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
<script type="text/javascript" language="javascript">
<!--
// 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; ?>';
}
<?php