0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 18:55:19 +00:00

Fix fatal error with empty migrate.php file

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1581 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-02-28 05:35:45 +00:00
parent d765628d24
commit c521e3a534
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@ Changelog HTMLPurifier : Phorum Mod
Version 3.0.0.1 for Phorum 5.2, unknown release date Version 3.0.0.1 for Phorum 5.2, unknown release date
- Fixed double encoded quotes - Fixed double encoded quotes
- Fixed fatal error when migrate.php is blank
Version 3.0.0 for Phorum 5.2, released January 12, 2008 Version 3.0.0 for Phorum 5.2, released January 12, 2008
# WYSIWYG and suppress_message options are now configurable via web # WYSIWYG and suppress_message options are now configurable via web

View File

@ -221,6 +221,11 @@ function phorum_htmlpurifier_common() {
exit; exit;
} }
if (!function_exists('phorum_htmlpurifier_migrate')) {
// Dummy function
function phorum_htmlpurifier_migrate($data) {return $data;}
}
} }
/** /**