Skip to content
Permalink
Browse files

Another fix for Pull request 642

  • Loading branch information...
jippi authored and lorenzo committed May 9, 2012
1 parent 484c3ec commit fbd21323009678a50c036bf36bfc4510a2e44b10
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Model/Model.php
@@ -2044,6 +2044,7 @@ public function saveMany($data = null, $options = array()) {
if ($options['validate'] === 'first') {
$validates = $this->validateMany($data, $options);
$data = $this->data;
if ((!$validates && $options['atomic']) || (!$options['atomic'] && in_array(false, $validates, true))) {
return $validates;
}

0 comments on commit fbd2132

Please sign in to comment.
You can’t perform that action at this time.