-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Labels
confirmed bugSomething isn't workingSomething isn't workingfrontendThe frontend interfaceThe frontend interface
Description
When adding roles to a user and want to delete them with the delete button, I noticed that this does not delete the row in the HTML, therefore sends an empty parameter and the server detects it as an SQL error.
General error: 1366 Incorrect integer value: '' for column 'role_id' at row 1 (SQL: insert into role_users (created_at, role_id, updated_at, user_id) values (2017-06-15 21:45:42, , 2017-06-15 21:45:42, 3))
app/sprinkles/admin/src/Controller/UserController.php(1147): Illuminate\Database\Eloquent\Relations\BelongsToMany->sync(Array)
Metadata
Metadata
Assignees
Labels
confirmed bugSomething isn't workingSomething isn't workingfrontendThe frontend interfaceThe frontend interface