cvs: phpdoc /htmlhelp user_notes.php
| From: | Gabor Hojtsy | Date: | Sat, 06 Sep 2003 16:12:18 +0000 |
| Subject: | cvs: phpdoc /htmlhelp user_notes.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969356217@lists.php.net to get a copy of this message | ||
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");