diff --git a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php index 7ff8889d65e975d2cce135806fa2128c54068b97..2f2fd7e396f3d35a7be4d90da436aa52a579bf2f 100644 --- a/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php +++ b/plugins/CustomVariables/Commands/SetNumberOfCustomVariables.php @@ -55,7 +55,7 @@ class SetNumberOfCustomVariables extends ConsoleCommand $this->printChanges($scope, $numVarsToSet, $output); } - if (!$this->confirmChange($output)) { + if ($input->isInteractive() && !$this->confirmChange($output)) { return; }