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 20:10:38 +02:00
parent 3a5af56fc9
commit 7fb6b5a305

View File

@ -544,7 +544,7 @@ function serendipity_emit_htmlarea_code($item, $jsname, $spawnMulti = false) {
global $serendipity;
if ($init && $spawnMulti) {
return true;
return;
}
if (isset($serendipity['wysiwyg']) && $serendipity['wysiwyg']) {
@ -558,7 +558,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')) {