Not sure where it is coming from.
this is my add processor:
<?php
if (empty($scriptProperties['name'])) {
$modx->error->addField('name',$modx->lexicon('ccancel.ccancel_err_ns_name'));
}
if ($modx->error->hasError()) { return $modx->error->failure(); }
$ccan = $modx->newObject('cancelClass');
$ccan->fromArray($scriptProperties);
if ($ccan->save() == false) {
return $modx->error->failure($modx->lexicon('ccancel.ccancel_err_save'));
}else{
return $modx->error->success('',$ccan);
}
I could just remove it from the string, however I would like to know where it is coming from.