Skip to content
Permalink
Browse files

Merge pull request #473 from Fat-Zer/fix-blank-kcfinder

kcfinder: fix a silent blank page on critial errors
  • Loading branch information...
sergejey committed Feb 28, 2019
2 parents 023a563 + b07bcaf commit a4efeffeaa3856e8b5e904df5cb9676fa4ee2a3f
Showing with 2 additions and 1 deletion.
  1. +2 −1 3rdparty/kcfinder/core/class/uploader.php
@@ -696,7 +696,8 @@ protected function backMsg($message, array $data=null) {
protected function callBack($url, $message="") {
$message = text::jsValue($message);
if ((get_class($this) == "kcfinder\\browser") && ($this->action != "browser"))
if ((get_class($this) == "kcfinder\\browser")
&& ($this->action !== null) && ($this->action != "browser"))
return;
if (isset($this->opener['name'])) {

0 comments on commit a4efeff

Please sign in to comment.
You can’t perform that action at this time.