From 8271970639a555d98bcde5db53ed0766c2af69ee Mon Sep 17 00:00:00 2001 From: Leonid Mamchenkov Date: Thu, 2 Jun 2011 01:12:25 +0300 Subject: [PATCH] Fix for PHP notice (Fixes #1424) --- lib/Cake/Model/Datasource/Database/Postgres.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Model/Datasource/Database/Postgres.php b/lib/Cake/Model/Datasource/Database/Postgres.php index a4040ddeb4c..c3bbdb4e3b6 100644 --- a/lib/Cake/Model/Datasource/Database/Postgres.php +++ b/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(