summaryrefslogtreecommitdiffstats
path: root/lib/class/artist.class.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-03-10 23:01:56 +0000
committermomo-i <momo-i@ampache>2009-03-10 23:01:56 +0000
commit4b191ae6bb833c399e0d5f7606354bcd8127e436 (patch)
tree4f5100545916156b5a0dfb093eca95ca9c790e58 /lib/class/artist.class.php
parent53d288873d9943adfd9de46e5727362829e1d565 (diff)
downloadampache-4b191ae6bb833c399e0d5f7606354bcd8127e436.tar.gz
ampache-4b191ae6bb833c399e0d5f7606354bcd8127e436.tar.bz2
ampache-4b191ae6bb833c399e0d5f7606354bcd8127e436.zip
Fix: typo
Diffstat (limited to 'lib/class/artist.class.php')
-rw-r--r--lib/class/artist.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/artist.class.php b/lib/class/artist.class.php
index bab664e6..b74e00a9 100644
--- a/lib/class/artist.class.php
+++ b/lib/class/artist.class.php
@@ -289,7 +289,7 @@ class Artist extends database_object {
*/
public function get_song_lyrics($song_id, $artist_name, $song_title) {
- $sql = "SELECT `lyrics`.`song_data` FROM `song_data` WHERE `song_id`='" . Dba::escape($song_id) . "'";
+ $sql = "SELECT `song_data`.`lyrics` FROM `song_data` WHERE `song_id`='" . Dba::escape($song_id) . "'";
$db_results = Dba::read($sql);
$results = Dba::fetch_assoc($db_results);