Skip to content

Commit 595514a

Browse files
committed
fix bug
1 parent c154952 commit 595514a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActiveRecord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public function batchSave($attributes = null, $scope = ''){
470470
*/
471471
public static function hasBatchInsert($scope = ''){
472472
$className = static::className();
473-
return @self::$batchInsertCommand[$className][$scope] ? true : false;
473+
return @self::$batchInsertQueue[$className][$scope] ? true : false;
474474
}
475475

476476
/**

0 commit comments

Comments
 (0)