Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type cast bug happens when moving content elements of nested containers #426

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

Stewy82
Copy link
Contributor

@Stewy82 Stewy82 commented Jul 5, 2023

Add integer type casting.

$targetContainerId maybe be a string for the second and followed-up iterations, so $this->database->fetchOneRecord() failed, because of uid is given as a string.

Can't move elements in nested containers without this change.

Add integer type casting. 

$targetContainerId maybe be a string for the second and followed-up iterations, so $this->database->fetchOneRecord() failed, because of uid is given as a string. 

Can't move elements in nested containers without this change.
@Stewy82 Stewy82 changed the title Fix type cast bug in movingelements of nested containers Fix type cast bug happens when moving content elements of nested containers Jul 5, 2023
Copy link
Contributor

@achimfritz achimfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks

@achimfritz achimfritz merged commit e57ba4c into b13:master Jul 6, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants