Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Fix a silent blank page on critial errors #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/class/uploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down