mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 06:48:42 +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:
parent
d765628d24
commit
c521e3a534
@ -11,6 +11,7 @@ Changelog HTMLPurifier : Phorum Mod
|
||||
|
||||
Version 3.0.0.1 for Phorum 5.2, unknown release date
|
||||
- Fixed double encoded quotes
|
||||
- Fixed fatal error when migrate.php is blank
|
||||
|
||||
Version 3.0.0 for Phorum 5.2, released January 12, 2008
|
||||
# WYSIWYG and suppress_message options are now configurable via web
|
||||
|
@ -221,6 +221,11 @@ function phorum_htmlpurifier_common() {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!function_exists('phorum_htmlpurifier_migrate')) {
|
||||
// Dummy function
|
||||
function phorum_htmlpurifier_migrate($data) {return $data;}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user