From 595514a7940c039d2f03aa7d10d04404fd161383 Mon Sep 17 00:00:00 2001 From: Ziaratban Date: Thu, 21 Dec 2023 08:55:51 +0330 Subject: [PATCH] fix bug --- src/ActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**