giix icon indicating copy to clipboard operation
giix copied to clipboard

$this in static function GxActiveRecord::saveMultiple()

Open atellier opened this issue 13 years ago • 2 comments

static function GxActiveRecord::saveMultiple() accesses $this, which is illegal... and will break sooner or later.

Thanks,

Arnaud.

atellier avatar Nov 08 '12 22:11 atellier

Hi Arnaud, thanks for submitting this ticket. This method is indeed broken, and the documentation states not to use it. It will be removed (or fixed, maybe) in the next release.

rcoelho avatar Nov 08 '12 22:11 rcoelho

Awesome! Thanks for the hard work!

atellier avatar Nov 08 '12 22:11 atellier