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 89fffd3 commit 788927eCopy full SHA for 788927e
src/Entries/Entry.php
@@ -450,6 +450,10 @@ public function save()
450
451
private function shouldUpdateUris(): bool
452
{
453
+ if (! $this->route()) {
454
+ return false;
455
+ }
456
+
457
$antlersRoute = preg_replace_callback('/{\s*([a-zA-Z0-9_\-]+)\s*}/', function ($match) {
458
return "{{ {$match[1]} }}";
459
}, $this->route());
0 commit comments