cc-1799 File system change

error in this loop variables from copy/paste.
This commit is contained in:
Naomi Aro 2011-06-15 11:12:57 +02:00
parent d5a3aaf3d0
commit a05b02b0dc
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class StoredFile {
else {
foreach ($p_md as $dbColumn => $mdValue) {
//don't blank out name, defaults to original filename on first insertion to database.
if($p_category == "track_title" && (is_null($p_value) || $p_value == "")) {
if($dbColumn == "track_title" && (is_null($mdValue) || $mdValue == "")) {
continue;
}
$propelColumn = $this->_dbMD[$dbColumn];