1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 03:05:26 +02:00
This commit is contained in:
Ryan Cramer
2023-06-07 12:40:28 -04:00
parent 3f14a29ff3
commit bc3cd4615e

View File

@@ -167,7 +167,7 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
$config = $this->wire()->config;
$input = $this->wire()->input;
$modules = $this->wire()->modules;
$inEditor = $process == 'ProcessPageEdit' || $process == 'ProcessProfile';
$inEditor = wireInstanceOf($process, 'ProcessPageEdit') || $process == 'ProcessProfile';
$isSuperuser = $user->isSuperuser();
// @todo would the following line be needed in some contexts (like ListerPro?)
@@ -2390,4 +2390,3 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
}
}