Skip to content

Commit 9c36143

Browse files
Merge pull request #959 from robertatakenaka/fix_tk950
Corrige Article.create_or_update
2 parents 6312dbf + e60b4ac commit 9c36143

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.12.0rc8
1+
v2.12.0rc9

article/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def create_or_update(cls, user, sps_pkg, issue=None, journal=None, position=None
262262
obj.creator = user
263263

264264
obj.pid_v3 = sps_pkg.pid_v3
265-
obj.pid_v2 = sps_pkg.pid_v2
265+
obj.pid_v2 = pid_v2
266266
obj.sps_pkg = sps_pkg
267267
obj.article_type = xml_with_pre.xmltree.find(".").get("article-type")
268268

0 commit comments

Comments
 (0)