diff --git a/htmlUI/ui_base.inc.php b/htmlUI/ui_base.inc.php index eb8391f94..7f3e07ad9 100644 --- a/htmlUI/ui_base.inc.php +++ b/htmlUI/ui_base.inc.php @@ -267,10 +267,15 @@ class uiBase } else { $this->id = $this->gb->storId; } - if (!is_null($this->id)) { - $f = StoredFile::Recall($this->id); - $this->type = $f->getType(); + if (isset($_REQUEST["type"]) && ($_REQUEST["type"] == "playlist")) { + $this->type = "playlist"; + } else { + $this->type = "audioclip"; } +// if (!is_null($this->id)) { +// $f = StoredFile::Recall($this->id); +// $this->type = $f->getType(); +// } } }