Update to v2.1.2:

Fixed: 'extra' entries would override database entries if they shared the
         same token
This commit is contained in:
Ian Jauslin
2018-06-29 16:39:15 +00:00
parent 2bff6d06da
commit 4a8e51c3c9
7 changed files with 16 additions and 12 deletions

View File

@ -36,7 +36,7 @@ function generate_SQL_alpha {
foundit=0
if [ ${#extra} -gt 0 ]; then
for entry in "${extra[@]}"; do
ref="${entry#*:*:}"
ref="${entry#*:}"
ref="${ref%%:*}"
if [ "$ref" = "$citeref" ]; then
foundit=1