diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-08 07:59:21 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-08 07:59:21 +0000 |
commit | 3a289531c38e4a7c1b0199b5ade8dae433e77166 (patch) | |
tree | 5e79949f91a904be5b7dcb40ed631bab199886dd /lib/class/user.class.php | |
parent | bb0e979ad50c4b97178b10db00fb346d275de4fc (diff) | |
download | ampache-3a289531c38e4a7c1b0199b5ade8dae433e77166.tar.gz ampache-3a289531c38e4a7c1b0199b5ade8dae433e77166.tar.bz2 ampache-3a289531c38e4a7c1b0199b5ade8dae433e77166.zip |
fixed some typos that prevented genre stats from being tracked at all
Diffstat (limited to 'lib/class/user.class.php')
-rw-r--r-- | lib/class/user.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/user.class.php b/lib/class/user.class.php index 8f45cfed..c3736c78 100644 --- a/lib/class/user.class.php +++ b/lib/class/user.class.php @@ -431,7 +431,7 @@ class User { $rows = mysql_affected_rows(); if (!$rows) { $sql = "INSERT INTO object_count (`object_type`,`object_id`,`date`,`count`,`userid`)" . - "VALUES ('genre','" . $song_info->genre."','$time','1'1,'$user')"; + " VALUES ('genre','" . $song_info->genre."','$time','1','$user')"; $db_results = mysql_query($sql, $dbh); } |