Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CakePHP 2.0 notice fix #110

Merged
merged 1 commit into from

2 participants

@mamchenkov

Fix for PHP notice in Postgres datasource as described in ticket #1424 in Lighthouse.

@lorenzo lorenzo merged commit b6659c8 into from
@lorenzo
Owner

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 1, 2011
  1. @mamchenkov
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Cake/Model/Datasource/Database/Postgres.php
View
1  lib/Cake/Model/Datasource/Database/Postgres.php
@@ -188,6 +188,7 @@ public function describe($model) {
$fields = parent::describe($model);
$table = $this->fullTableName($model, false);
$this->_sequenceMap[$table] = array();
+ $cols = null;
if ($fields === null) {
$cols = $this->_execute(
Something went wrong with that request. Please try again.