Skip to content

Commit 21efcfc

Browse files
committed
Fix Spelling mistakes in setPDO method on RPDO.php. Closes #875.
1 parent 0dcd10f commit 21efcfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RedBeanPHP/Driver/RPDO.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public function setPDO( \PDO $pdo, $options = array() ) {
510510
if ( isset($options['runInitCode']) ) $runInitCode = $options['runInitCode'];
511511
if ( isset($options['stringFetch']) ) $stringFetch = $options['stringFetch'];
512512

513-
if ($connected) $this->connected = $connected;
513+
if ($connected) $this->isConnected = $connected;
514514
if ($setEncoding) $this->setEncoding();
515515
if ($setAttributes) {
516516
$this->pdo->setAttribute( \PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION );

0 commit comments

Comments
 (0)