We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dcd10f commit 21efcfcCopy full SHA for 21efcfc
RedBeanPHP/Driver/RPDO.php
@@ -510,7 +510,7 @@ public function setPDO( \PDO $pdo, $options = array() ) {
510
if ( isset($options['runInitCode']) ) $runInitCode = $options['runInitCode'];
511
if ( isset($options['stringFetch']) ) $stringFetch = $options['stringFetch'];
512
513
- if ($connected) $this->connected = $connected;
+ if ($connected) $this->isConnected = $connected;
514
if ($setEncoding) $this->setEncoding();
515
if ($setAttributes) {
516
$this->pdo->setAttribute( \PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION );
0 commit comments