Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Dec 21, 2023
1 parent c154952 commit 595514a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 595514a

Please sign in to comment.