diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-09 07:49:59 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-07-09 07:49:59 +0000 |
commit | c5d6e04d114d3c4b3f31743ccd0d4a60c9ef9632 (patch) | |
tree | bc3196cb97d63079013ebfc5b183d2038ee7c9e7 /upload.php | |
parent | c9170314af9139abef87629d218c7999bd3c8df3 (diff) | |
download | ampache-c5d6e04d114d3c4b3f31743ccd0d4a60c9ef9632.tar.gz ampache-c5d6e04d114d3c4b3f31743ccd0d4a60c9ef9632.tar.bz2 ampache-c5d6e04d114d3c4b3f31743ccd0d4a60c9ef9632.zip |
removed ID field from user table, and everything that goes with that...
Diffstat (limited to 'upload.php')
-rw-r--r-- | upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,7 +157,7 @@ switch ($action) { $message[$music] .= _("Successfully-Quarantined");
/* Log the upload */
$sql = "INSERT INTO upload (`user`,`file`,`addition_time`)" .
- " VALUES ('$user->id','" . sql_escape($fullpath) . "','" . time() . "')";
+ " VALUES ('$user->username','" . sql_escape($fullpath) . "','" . time() . "')";
$db_results = mysql_query($sql, dbh());
} // if quarantine
@@ -296,7 +296,7 @@ if ( $handle = @opendir($user->prefs['upload_dir'] ) ){ echo " <td><a href='" . $web_path .
- "/play/pupload.php?action=m3u&song=$file&uid=$user->id'>" .
+ "/play/pupload.php?action=m3u&song=$file&uid=$user->username'>" .
$results[$key][title] . "</a></td>\n";
|