correct array if no Characters are selected for managing Characters
This commit is contained in:
parent
99b0e1035e
commit
ef9894460f
1 changed files with 3 additions and 0 deletions
|
|
@ -330,6 +330,9 @@
|
|||
|
||||
// Do action
|
||||
$selectedCharacters = $this->request->getPostParam('characters');
|
||||
if(!is_array($selectedCharacters)) {
|
||||
$selectedCharacters = array();
|
||||
}
|
||||
if(!is_null($this->request->getPostParam('actions')) && count($this->request->getPostParam('actions')) > 0 && !is_null($this->request->getPostParam('characters')) && count($this->request->getPostParam('characters')) > 0)
|
||||
{
|
||||
$actions = $this->request->getPostParam('actions');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue