Skip to content

Commit

Permalink
Fix Spelling mistakes in setPDO method on RPDO.php. Closes #875.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Oct 27, 2021
1 parent 0dcd10f commit 21efcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RedBeanPHP/Driver/RPDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public function setPDO( \PDO $pdo, $options = array() ) {
if ( isset($options['runInitCode']) ) $runInitCode = $options['runInitCode'];
if ( isset($options['stringFetch']) ) $stringFetch = $options['stringFetch'];

if ($connected) $this->connected = $connected;
if ($connected) $this->isConnected = $connected;
if ($setEncoding) $this->setEncoding();
if ($setAttributes) {
$this->pdo->setAttribute( \PDO::ATTR_ERRMODE,\PDO::ERRMODE_EXCEPTION );
Expand Down

0 comments on commit 21efcfc

Please sign in to comment.