summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2006-11-04 01:38:14 +0000
committerpb1dft <pb1dft@ampache>2006-11-04 01:38:14 +0000
commitf6c313e5502c38706de8a28bfe239a3c1ea04d00 (patch)
tree5d0052112a9d25b410e37c252d49d46addb3aa05 /lib
parentd7996a68590933cbccbcf1011e8cf6e92c1510b7 (diff)
downloadampache-f6c313e5502c38706de8a28bfe239a3c1ea04d00.tar.gz
ampache-f6c313e5502c38706de8a28bfe239a3c1ea04d00.tar.bz2
ampache-f6c313e5502c38706de8a28bfe239a3c1ea04d00.zip
I made a mistake
Diffstat (limited to 'lib')
-rw-r--r--lib/class/stream.class.php2
-rw-r--r--lib/class/tmp_playlist.class.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index cbdd6edd..7d0566bb 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -246,7 +246,7 @@ class Stream {
echo "<script language=\"javascript\" type=\"text/javascript\">\n";
echo "<!-- begin\n";
echo "function PlayerPopUp(URL) {\n";
- echo "window.open(URL, 'XSPF_player', 'width=355,height=300,scrollbars=0,toolbar=0,location=0,directories=0,status=1,resizable=0');\n";
+ echo "window.open(URL, 'XSPF_player', 'width=400,height=168,scrollbars=0,toolbar=0,location=0,directories=0,status=1,resizable=0');\n";
echo "window.location = '" . return_referer() . "';\n";
echo "return false;\n";
echo "}\n";
diff --git a/lib/class/tmp_playlist.class.php b/lib/class/tmp_playlist.class.php
index 0e52aac9..2a85be2f 100644
--- a/lib/class/tmp_playlist.class.php
+++ b/lib/class/tmp_playlist.class.php
@@ -85,7 +85,7 @@ class tmpPlaylist {
function get_items() {
$sql = "SELECT object_id FROM tmp_playlist_data " .
- "WHERE tmp_playlist_data.tmp_playlist='" . sql_escape($this->id) . "'";
+ "WHERE tmp_playlist_data.tmp_playlist='" . sql_escape($this->id) . "' ORDER by id ASC";
$db_results = mysql_query($sql, dbh());
while ($results = mysql_fetch_assoc($db_results)) {