Skip to content

Commit 3f7a284

Browse files
committed
Merge pull request #864 from Gamesh/patch-3
Ternary operator supported only in php5.3+
2 parents e914de6 + c021369 commit 3f7a284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/lib/connection/DebugPDOStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function execute($input_parameters = null)
101101
$debug = $this->pdo->getDebugSnapshot();
102102
$return = parent::execute($input_parameters);
103103

104-
$sql = $this->getExecutedQueryString($input_parameters?:array());
104+
$sql = $this->getExecutedQueryString($input_parameters?$input_parameters:array());
105105
$this->pdo->log($sql, null, __METHOD__, $debug);
106106
$this->pdo->setLastExecutedQuery($sql);
107107
$this->pdo->incrementQueryCount();

0 commit comments

Comments
 (0)