Same problem. I send a empty form and get a string with 0 chars length. I think, you mean
```
if (false === is_array($string)) {
    return $string;
}
```