Skip to content

Commit a053b43

Browse files
committed
Update TargetAdminController.groovy
1 parent 2e69ab6 commit a053b43

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

pegr/grails-app/controllers/pegr/admin/TargetAdminController.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ class TargetAdminController {
5050
}
5151

5252
try {
53+
if (target.cTermTag == null) {
54+
target.cTermTag = ''
55+
}
56+
if (target.nTermTag == null) {
57+
target.nTermTag = ''
58+
}
5359
targetService.save(target)
5460
} catch (ValidationException e) {
5561
respond target.errors, view:'create'

0 commit comments

Comments
 (0)