diff --git a/src/ActiveRecord.php b/src/ActiveRecord.php index 902941581..23ad270e9 100644 --- a/src/ActiveRecord.php +++ b/src/ActiveRecord.php @@ -470,7 +470,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; } /**