ソースを参照

[ZF-6721]Bug if Join is called with an non-associative array for tablename

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15843 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 年 前
コミット
f0f3ea3327
1 ファイル変更1 行追加1 行削除
  1. 1 1
      library/Zend/Db/Select.php

+ 1 - 1
library/Zend/Db/Select.php

@@ -765,7 +765,7 @@ class Zend_Db_Select
                     $correlationName = $_correlationName;
                 } else {
                     // We assume just an array of identifiers, with no correlation name
-                    $tableName = $name;
+                    $tableName = $_tableName;
                     $correlationName = $this->_uniqueCorrelation($tableName);
                 }
                 break;