Change the maximum value of the smiley position
This commit is contained in:
parent
8bc21acc9c
commit
1291e08441
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ class Smilies extends Parser
|
|||
'class' => ['position', 'smile'],
|
||||
'type' => 'number',
|
||||
'min' => '0',
|
||||
'max' => '255',
|
||||
'max' => '9999',
|
||||
'value' => $data['smilies'][$id]['sm_position'] ?? $cur['sm_position'],
|
||||
'caption' => __('Position label'),
|
||||
'required' => true,
|
||||
|
@ -229,7 +229,7 @@ class Smilies extends Parser
|
|||
'class' => ['position', 'new-smile'],
|
||||
'type' => 'number',
|
||||
'min' => '0',
|
||||
'max' => '255',
|
||||
'max' => '9999',
|
||||
'value' => $data['new_sm_position'] ?? $max + 1,
|
||||
'caption' => __('Position label'),
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue