Permalink
Browse files

Merge pull request #864 from Gamesh/patch-3

Ternary operator supported only in php5.3+
  • Loading branch information...
2 parents e914de6 + c021369 commit 3f7a284906ce3e402bcb101938270842fdad71fa @willdurand willdurand committed Apr 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 runtime/lib/connection/DebugPDOStatement.php
View
2 runtime/lib/connection/DebugPDOStatement.php
@@ -101,7 +101,7 @@ public function execute($input_parameters = null)
$debug = $this->pdo->getDebugSnapshot();
$return = parent::execute($input_parameters);
- $sql = $this->getExecutedQueryString($input_parameters?:array());
+ $sql = $this->getExecutedQueryString($input_parameters?$input_parameters:array());
$this->pdo->log($sql, null, __METHOD__, $debug);
$this->pdo->setLastExecutedQuery($sql);
$this->pdo->incrementQueryCount();

0 comments on commit 3f7a284

Please sign in to comment.