Skip to content

Commit

Permalink
#29256 include in 23.10.24 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Sep 5, 2024
1 parent f206471 commit 29372ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.dotmarketing.util.Logger;
import com.dotmarketing.util.RegEX;
import com.dotmarketing.util.RegExMatch;
import com.dotmarketing.util.UtilMethods;
import com.google.common.collect.ImmutableMap;
import com.liferay.portal.model.User;
import org.quartz.SchedulerException;
Expand Down Expand Up @@ -61,7 +62,7 @@ public void checkHostCopy(final Contentlet newSite, final User user, final Strin
final boolean copyContentOnHost = copyParams.get("copy_content_on_host").equals("on");
final boolean copyLinks = copyParams.get("copy_links").equals("on");
final boolean copyHostVariables = copyParams.get("copy_host_variables").equals("on");
final boolean copyContentTypes = copyParams.get("copy_content_types").equals("on");
final boolean copyContentTypes = UtilMethods.isSet(copyParams.get("copy_content_types")) ? copyParams.get("copy_content_types").equals("on") : false;

final Host sourceHost = hostAPI.find(copyFromHostId, user, false);
final HostCopyOptions hostCopyOptions = copyAll?
Expand Down

0 comments on commit 29372ce

Please sign in to comment.