Fix for PostgreSQL.

svn
Loic d'Anterroches 2008-08-01 22:13:25 +02:00
parent a831c749d8
commit 593afd9b8b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}