1
0
mirror of https://github.com/flarum/core.git synced 2025-07-29 12:40:40 +02:00

Fix Model extender transition using camelCase instead of underscore notation

This commit is contained in:
David Sevilla Martin
2020-05-03 08:39:35 -04:00
parent 347fc6d79d
commit 42d7968dfb

View File

@@ -30,7 +30,7 @@ return [
->css(__DIR__.'/less/admin.less'),
(new Extend\Model(User::class))
->dateAttribute('suspendedUntil'),
->dateAttribute('suspended_until'),
function (Dispatcher $events) {
$events->subscribe(Listener\AddUserSuspendAttributes::class);