This commit is contained in:
thinkphp
2017-01-06 16:17:35 +08:00
parent fd2546730b
commit ba7ca1d562

View File

@@ -485,7 +485,7 @@ abstract class Connection
*/
protected function getResult($pdo = false, $procedure = false)
{
if (true === $class) {
if ($pdo) {
// 返回PDOStatement对象处理
return $this->PDOStatement;
}