halkeye/ecmproject — Issue #19: Error reporting array
Author: soular
Created: 2011-10-20 04:57:56+00:00
State: open

In some cases errors are reported to the user as such:

$this->addError("$field is $msg");

However this just prints $field is Array, changing the code to the following with get you a precise error report

$this->addError("$field is $msg[0]");