goba            Sat Sep  6 12:12:18 2003 EDT

  Modified files:              
    /phpdoc/htmlhelp    user_notes.php 
  Log:
  Substring containment fix
  
  
Index: phpdoc/htmlhelp/user_notes.php
diff -u phpdoc/htmlhelp/user_notes.php:1.1 phpdoc/htmlhelp/user_notes.php:1.2
--- phpdoc/htmlhelp/user_notes.php:1.1  Thu Dec 26 14:11:03 2002
+++ phpdoc/htmlhelp/user_notes.php      Sat Sep  6 12:12:18 2003
@@ -92,8 +92,8 @@
 
 // Write out a list of files to work around an IE6 bug
 $jsfile = fopen("$NOTES_TARGET/_filelist.js", "w");
-fwrite($jsfile, "note_file_list = '" . join(" ", $NOTE_FILE_LIST) . "';\n\n");
-fwrite($jsfile, "if (note_file_list.indexOf(chmfile_page) != -1) { notesIframe(); }");
+fwrite($jsfile, "note_file_list = ' " . join(" ", $NOTE_FILE_LIST) . " ';\n\n");
+fwrite($jsfile, "if (note_file_list.indexOf(' ' + chmfile_page + ' ') != -1) { 
notesIframe(); }");
 fclose($jsfile);
 fwrite($nproject, "_filelist.js\n");
 

Reply via email to