Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ternary operator supported only in php5.3+

Fixes compatibility with php 5.2, as the Docs still say that propel requires 5.2.4+ version, ternary operators should not be used.
  • Loading branch information...
commit c021369967c0662113e034a461e0ce8f2b3b8f44 1 parent e914de6
@Gamesh Gamesh authored
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();
Please sign in to comment.
Something went wrong with that request. Please try again.