diff --git a/lib/Cake/View/Elements/sql_dump.ctp b/lib/Cake/View/Elements/sql_dump.ctp index 59aeca8e6..5623a58cf 100644 --- a/lib/Cake/View/Elements/sql_dump.ctp +++ b/lib/Cake/View/Elements/sql_dump.ctp @@ -58,19 +58,27 @@ if ($noLogs || isset($_forced_from_dbo_)): } foreach ($i['params'] as $bindKey => $bindVal) { if ($bindType === true) { - $bindParam .= h($bindKey) ." => " . h($bindVal) . ", "; + $bindParam .= h($bindKey) . " => " . h($bindVal) . ", "; } else { $bindParam .= h($bindVal) . ", "; } } $i['query'] .= " , params[ " . rtrim($bindParam, ', ') . " ]"; } - echo "
%s
', __d('cake_dev', 'Encountered unexpected %s. Cannot generate SQL log.', '$logs')); endif;