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

Adapted add-faq-form to #2886 #2980

Merged
merged 10 commits into from
Jun 7, 2024
Merged

Adapted add-faq-form to #2886 #2980

merged 10 commits into from
Jun 7, 2024

Conversation

modelrailroader
Copy link
Contributor

One part of #2886 and minor changes in design and programming

phpmyfaq/add.php Outdated Show resolved Hide resolved
@@ -81,7 +81,7 @@ public function save(): void

$userPermissions = $categoryPermission->get(Permission::USER, $this->categories);

$faqPermission->add(Permission::USER, $this->faqId, $userPermissions);
$faqPermission->add(Permission::USER, $this->categories, $userPermissions);
Copy link
Owner

Choose a reason for hiding this comment

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

Is this change correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the argument order was wrong and with the change, it's working as expected.

@modelrailroader
Copy link
Contributor Author

modelrailroader commented Jun 5, 2024

I removed the inline css and fixed all other requested changes.

@thorsten thorsten merged commit 98804d3 into thorsten:main Jun 7, 2024
7 checks passed
@modelrailroader modelrailroader deleted the add-faqs branch June 16, 2024 12:18
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