Skip to content

Commit

Permalink
Merge pull request zendframework#1335 from akrabat/hotfix/abstract-ta…
Browse files Browse the repository at this point in the history
…blegateway-tablename

Hotfix/abstract tablegateway tablename
  • Loading branch information
ralphschindler committed May 23, 2012
2 parents cef2f9c + 8f5c937 commit d0300fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Db/TableGateway/AbstractTableGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* @property Adapter $adapter
* @property int $lastInsertValue
* @property string $tableName
* @property string $table
*/
abstract class AbstractTableGateway implements TableGatewayInterface
{
Expand Down Expand Up @@ -111,7 +111,7 @@ public function initialize()
}

if (!$this->sql instanceof Sql) {
$this->sql = new Sql($this->adapter, $this->tableName);
$this->sql = new Sql($this->adapter, $this->table);
}

$this->featureSet->apply('postInitialize', array());
Expand Down

0 comments on commit d0300fc

Please sign in to comment.