diff --git a/src/ActiveRecord.php b/src/ActiveRecord.php index 39356f04e..708993745 100644 --- a/src/ActiveRecord.php +++ b/src/ActiveRecord.php @@ -623,7 +623,7 @@ public function batchSave($attributes = null, $scope = ''){ */ public static function hasBatchInsert($scope = ''){ $className = static::className(); - return @self::$batchInsertCommand[$className][$scope] ? true : false; + return @self::$batchInsertQueue[$className][$scope] ? true : false; } /**