From 593afd9b8b18efde2a7817d57e8f101112aaa6fe Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Fri, 1 Aug 2008 22:13:25 +0200 Subject: [PATCH] Fix for PostgreSQL. --- src/IDF/Conf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Conf.php b/src/IDF/Conf.php index 94483b1..0d57536 100644 --- a/src/IDF/Conf.php +++ b/src/IDF/Conf.php @@ -86,7 +86,7 @@ class IDF_Conf extends Pluf_Model function initCache() { $this->datacache = new ArrayObject(); - $sql = new Pluf_SQL('project=%s', $this->_project); + $sql = new Pluf_SQL('project=%s', $this->_project->id); foreach ($this->getList(array('filter' => $sql->gen())) as $val) { $this->datacache[$val->vkey] = $val->vdesc; }