Skip to content
Permalink
Browse files

Fixed mysql tests

  • Loading branch information...
lorenzo committed Nov 1, 2013
1 parent ffb744e commit 5910f5b4527f067610329e060d22c5a7451f44d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cake/Database/Statement/StatementDecorator.php
@@ -273,7 +273,7 @@ public function bind($params, $types) {
*/
public function lastInsertId($table = null, $column = null) {
$row = null;
if ($column) {
if ($column && $this->columnCount()) {
$row = $this->fetch('assoc');
}
if ($column && $row) {

0 comments on commit 5910f5b

Please sign in to comment.
You can’t perform that action at this time.