Normally you do "-xfoo=bar", but some people try to do "-x foo=bar"
which caused strange issues.
Resolves: https://github.com/cweiske/shpub/issues/11
if (count($cmdRes->options['x'])) {
$postParams = [];
foreach ($cmdRes->options['x'] as $xproperty) {
if (count($cmdRes->options['x'])) {
$postParams = [];
foreach ($cmdRes->options['x'] as $xproperty) {
+ if ($xproperty == '') {
+ //happens with "-x foo=bar" instead of "-xfoo=bar"
+ continue;
+ }
list($propkey, $propval) = explode('=', $xproperty, 2);
if (!isset($postParams[$propkey])) {
$postParams[$propkey] = [];
list($propkey, $propval) = explode('=', $xproperty, 2);
if (!isset($postParams[$propkey])) {
$postParams[$propkey] = [];