Fixed bug when adding a playlist to the scratchpad.

This commit is contained in:
paul.baranowski 2010-11-19 15:52:30 -05:00
parent a643e4c755
commit 67d82d1de6

View file

@ -267,10 +267,15 @@ class uiBase
} else { } else {
$this->id = $this->gb->storId; $this->id = $this->gb->storId;
} }
if (!is_null($this->id)) { if (isset($_REQUEST["type"]) && ($_REQUEST["type"] == "playlist")) {
$f = StoredFile::Recall($this->id); $this->type = "playlist";
$this->type = $f->getType(); } else {
$this->type = "audioclip";
} }
// if (!is_null($this->id)) {
// $f = StoredFile::Recall($this->id);
// $this->type = $f->getType();
// }
} }
} }