summaryrefslogtreecommitdiffstats
path: root/apps/media
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-06-24 15:11:58 +0000
committerBrice Maron <brice@bmaron.net>2012-06-24 16:02:41 +0000
commitc53a8fa541dec244085ce551f2b1dd5b18b6e568 (patch)
tree455eb3a527e5a3df28c4233437c59c1e1c58996b /apps/media
parent0f9b9fa111208925f2d4518e40476d5f68b6f940 (diff)
downloadnextcloud-server-c53a8fa541dec244085ce551f2b1dd5b18b6e568.tar.gz
nextcloud-server-c53a8fa541dec244085ce551f2b1dd5b18b6e568.zip
Correct seq name in media songs fix oc-589
Diffstat (limited to 'apps/media')
-rw-r--r--apps/media/lib_collection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/lib_collection.php b/apps/media/lib_collection.php
index a32a50534ed..bf82e65e62b 100644
--- a/apps/media/lib_collection.php
+++ b/apps/media/lib_collection.php
@@ -277,7 +277,7 @@ class OC_MEDIA_COLLECTION{
$query=self::$queries['addsong'];
}
$query->execute(array($name,$artist,$album,$path,$uid,$length,$track,$size));
- $songId=OCP\DB::insertid('*PREFIX*media_songs');
+ $songId=OCP\DB::insertid('*PREFIX*media_songs_song');
// self::setLastUpdated();
return self::getSongId($name,$artist,$album);
}