Skip to content

Commit

Permalink
Adding Statement of Responsibility field to be able to be imported in…
Browse files Browse the repository at this point in the history
… SLiMS biblio csv
  • Loading branch information
hendrowicaksono committed Dec 24, 2012
1 parent 086728d commit 65f8b3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/modules/bibliography/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
$classification = $field[11]?'\''.$field[11].'\'':'NULL';;
$notes = $field[12]?'\''.$field[12].'\'':'NULL';;
$image = $field[13]?'\''.$field[13].'\'':'NULL';
$file_att = $field[14]?'\''.$field[14].'\'':'NULL';
$sor = $field[14]?'\''.$field[14].'\'':'NULL';
// $authors = preg_replace('@\\\s*'.$field_enc.'$@i', '', $field[15]);
$authors = trim($field[15]);
$subjects = trim($field[16]);
Expand All @@ -147,12 +147,12 @@
isbn_issn, publisher_id, publish_year,
collation, series_title, call_number,
language_id, publish_place_id, classification,
notes, image, file_att, input_date, last_update)
notes, image, sor, input_date, last_update)
VALUES ($title, $gmd_id, $edition,
$isbn_issn, $publisher_id, $publish_year,
$collation, $series_title, $call_number,
$language_id, $publish_place_id, $classification,
$notes, $image, $file_att, $curr_datetime, $curr_datetime)";
$notes, $image, $sor, $curr_datetime, $curr_datetime)";
// send query
$dbs->query($sql_str);
$biblio_id = $dbs->insert_id;
Expand Down

0 comments on commit 65f8b3a

Please sign in to comment.