mirror of
https://github.com/processwire/processwire.git
synced 2025-08-16 11:44:42 +02:00
Fix issue processwire/processwire-issues#1282
This commit is contained in:
@@ -245,8 +245,11 @@ class ProcessLogger extends Process {
|
||||
$f = $this->wire('modules')->get('InputfieldInteger');
|
||||
$f->attr('name', 'prune_days');
|
||||
$f->label = $this->_('Chop To # Days');
|
||||
$f->inputType = 'number';
|
||||
$f->min = 1;
|
||||
$f->icon = 'cut';
|
||||
$f->description = $this->_('Reduce the size of the log file to contain only entries from the last [n] days.');
|
||||
$f->notes = $this->_('Must be 1 or greater.');
|
||||
$f->value = 30;
|
||||
$f->showIf = "action=prune";
|
||||
$fieldset->add($f);
|
||||
|
Reference in New Issue
Block a user