Skip to content

Commit

Permalink
Merge pull request #1 from danapppro/master
Browse files Browse the repository at this point in the history
adjusting key for getting mysql option table_name
  • Loading branch information
n0nag0n authored Apr 21, 2023
2 parents 5e75da0 + 2518293 commit 3db3e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Job_Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public function isBeanstalkdQueueType(): bool {

protected function getSqlTableName(): string {
$table_name = 'job_queue_jobs';
if($this->isMysqlQueueType() && isset($this->options['sqlite']['table_name'])) {
if($this->isMysqlQueueType() && isset($this->options['mysql']['table_name'])) {
$table_name = $this->options['mysql']['table_name'];
} else if($this->isSqliteQueueType() && isset($this->options['sqlite']['table_name'])) {
$table_name = $this->options['sqlite']['table_name'];
Expand Down

0 comments on commit 3db3e8c

Please sign in to comment.