mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Fix issue processwire/processwire-issues#1750
This commit is contained in:
@@ -167,7 +167,7 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
|
|||||||
$config = $this->wire()->config;
|
$config = $this->wire()->config;
|
||||||
$input = $this->wire()->input;
|
$input = $this->wire()->input;
|
||||||
$modules = $this->wire()->modules;
|
$modules = $this->wire()->modules;
|
||||||
$inEditor = $process == 'ProcessPageEdit' || $process == 'ProcessProfile';
|
$inEditor = wireInstanceOf($process, 'ProcessPageEdit') || $process == 'ProcessProfile';
|
||||||
$isSuperuser = $user->isSuperuser();
|
$isSuperuser = $user->isSuperuser();
|
||||||
|
|
||||||
// @todo would the following line be needed in some contexts (like ListerPro?)
|
// @todo would the following line be needed in some contexts (like ListerPro?)
|
||||||
@@ -2390,4 +2390,3 @@ class FieldtypeRepeater extends Fieldtype implements ConfigurableModule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user