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 {
|
} 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();
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue