-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
Conversation
phpmyfaq/assets/templates/admin/configuration/forms.translations.twig
Outdated
Show resolved
Hide resolved
phpmyfaq/assets/templates/admin/configuration/forms.translations.twig
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change correct?
There was a problem hiding this comment.
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.
I removed the inline css and fixed all other requested changes. |
One part of #2886 and minor changes in design and programming