summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
authorKarl Vollmer <vollmerk@ampache.org>2011-12-01 15:59:33 -0400
committerKarl Vollmer <vollmerk@ampache.org>2011-12-01 15:59:33 -0400
commit56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f (patch)
tree3a469afc6428fabc8912210c76247c3aaa89052c /play
parentd1af05595c46c59a7d3992925d2ab6f0e14e5dbe (diff)
downloadampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.tar.gz
ampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.tar.bz2
ampache-56eb2ac7dcfa0b7e0269612632b7944ff7b6b51f.zip
Fixed two PHP warnings, and some issues with how users were being constructed
in init (which makes me wonder) and started trying to figure out why libre.fm broke
Diffstat (limited to 'play')
-rw-r--r--play/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/play/index.php b/play/index.php
index 0fe4cf93..a2c10aaa 100644
--- a/play/index.php
+++ b/play/index.php
@@ -322,6 +322,7 @@ if (((Config::get('transcode') == 'always' AND !$video) ||
} // end if downsampling
else {
$fp = fopen($media->file, 'rb');
+ $transcoded = false;
}
if (!is_resource($fp)) {