You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just noticed that saveOrReturn() raises an exception if $throwValidationExceptions is set true. The documentation suggests that the whole purpose of this function is to avoid throwing an exception, even if the afore-mentioned variable is set. Also I extracted this comment from the code:
/** saveOrReturn()
* Perform a one-off save that will return a boolean on
* validation error instead of raising an exception.
*/
The text was updated successfully, but these errors were encountered:
I've just noticed that saveOrReturn() raises an exception if $throwValidationExceptions is set true. The documentation suggests that the whole purpose of this function is to avoid throwing an exception, even if the afore-mentioned variable is set. Also I extracted this comment from the code:
The text was updated successfully, but these errors were encountered: