diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2017-04-02 18:31:39 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2017-04-02 18:31:39 +0000 |
| commit | b9f9851b69ffd32632e873f4d1012c4da32987e8 (patch) | |
| tree | 83defa5766a740b00bf50ef2f7d151225a90a33f | |
| parent | d38f46f6b5b77910da8a630749a001e5a64c82fa (diff) | |
Describes more specifically why a nutrient isn't being added.
| -rwxr-xr-x | db_update_scripts/update_nutrientData.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_update_scripts/update_nutrientData.php b/db_update_scripts/update_nutrientData.php index e4c81a7..e56dccb 100755 --- a/db_update_scripts/update_nutrientData.php +++ b/db_update_scripts/update_nutrientData.php @@ -56,7 +56,7 @@ while ( ($row = fgetcsv($fh_add, 0, $delimiter, $enclosure)) !== FALSE ) { ); $db->Select($sql); if ( $db->_rowCount != 0 ) { - fwrite($fh_log, "\tWARNING not adding ndb_no {$row[0]} because it already exists.\n"); + fwrite($fh_log, "\tWARNING not adding ndb_no {$row[0]}, nutr_no {$row[1]} because it already exists.\n"); continue; } |
