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 {
$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();
// }
}
}