Skip to content

Commit

Permalink
Fix not defined local variable 'batchSet'
Browse files Browse the repository at this point in the history
  • Loading branch information
ggppdk committed Oct 15, 2017
1 parent b342d4a commit 0b633ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/src/MVC/Model/AdminModel.php
Expand Up @@ -1474,10 +1474,10 @@ public function generateTitle($categoryId, $table)
public function initBatch()
{
static $batchSet = null;

if ($batchSet === null)
{
$this->batchSet = true;
$batchSet = true;

// Get table
$this->table = $this->getTable();
Expand Down

0 comments on commit 0b633ca

Please sign in to comment.