Skip to content

Commit b0d7e7a

Browse files
committed
bypass relocation creation if the slug is unchanged
1 parent e2e8825 commit b0d7e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/contentbox/modules/contentbox-admin/handlers/baseContentHandler.cfc

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ component extends="baseHandler" {
486486
);
487487

488488
// save content
489-
variables.ormService.save( oContent, originalSlug );
489+
variables.ormService.save( oContent, originalSlug != oContent.getSlug() ? originalSlug : "" );
490490

491491
// announce event
492492
announce(

0 commit comments

Comments
 (0)