1
0
serendipity_emit_htmlarea_code() does not need to return true which can note badly as 1 in 'backend_wysiwyg' hooks
This commit is contained in:
Ian
2013-05-08 21:14:16 +03:00
parent 5ec7481030
commit 48750943db

View File

@ -510,7 +510,7 @@ function serendipity_emit_htmlarea_code($item, $jsname, $spawnMulti = false) {
global $serendipity;
if ($init && $spawnMulti) {
return true;
return;
}
if (isset($serendipity['wysiwyg']) && $serendipity['wysiwyg']) {
@ -524,7 +524,7 @@ function serendipity_emit_htmlarea_code($item, $jsname, $spawnMulti = false) {
serendipity_plugin_api::hook_event('backend_wysiwyg', $eventData);
if ($eventData['skip']) {
return true;
return;
}
if (file_exists($serendipity['serendipityPath'] . 'htmlarea/XinhaCore.js')) {