We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9866ee8 commit 3ec10cdCopy full SHA for 3ec10cd
app/Models/Plugin.php
@@ -65,7 +65,7 @@ public function routeParams(): array
65
protected static function booted(): void
66
{
67
static::saving(function (Plugin $plugin): void {
68
- if ($plugin->isDirty('name') && $plugin->name) {
+ if ($plugin->isDirty('name') && $plugin->name && ! $plugin->isDirty('is_official')) {
69
$vendor = explode('/', $plugin->name)[0] ?? null;
70
$plugin->is_official = $vendor === 'nativephp';
71
}
0 commit comments