Skip to content

Commit

Permalink
Fix variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 23, 2016
1 parent 805d9c9 commit a3301da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nag/lib/Factory/TagBrowser.php
Expand Up @@ -5,12 +5,12 @@ class Nag_Factory_TagBrowser extends Horde_Core_Factory_Base

public function create()
{
if (empty($instance)) {
$instance = new Nag_TagBrowser(
if (empty($this->_instance)) {
$this->_instance = new Nag_TagBrowser(
$GLOBALS['injector']->getInstance('Nag_Tagger'));
}

return $instance;
return $this->_instance;
}

}

0 comments on commit a3301da

Please sign in to comment.