Fixed bug when adding a playlist to the scratchpad.
This commit is contained in:
parent
a643e4c755
commit
67d82d1de6
1 changed files with 8 additions and 3 deletions
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue