Permalink
Browse files

fixes #5926, table prefix on acl tables when overriding constructor

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7980 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
1 parent e496fc9 commit ff340d33ce3329d2f91f5ad164bf02a2c20edbb9 gwoo committed Jan 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/model/db_acl.php
@@ -175,7 +175,7 @@ function node($ref = null) {
'conditions' => $ref,
'fields' => array('id', 'parent_id', 'model', 'foreign_key', 'alias'),
'joins' => array(array(
- 'table' => $db->fullTableName($table),
+ 'table' => $db->fullTableName($this),
'alias' => "{$type}0",
'type' => 'LEFT',
'conditions' => array(

0 comments on commit ff340d3

Please sign in to comment.