minor fix for compatibility with Postgres-8.3

This commit is contained in:
tomash 2008-05-14 22:30:04 +00:00
parent e25f03fcfc
commit 066e0dab04
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class MetaData {
md.predxml, md.predns as chns, md.predicate as chname
FROM ".$CC_CONFIG['mdataTable']." parmd
INNER JOIN ".$CC_CONFIG['mdataTable']." md
ON parmd.id=md.subject AND md.subjns='_I'
ON parmd.id=md.subject::integer AND md.subjns='_I'
WHERE md.id=$p_id");
if (PEAR::isError($info)) {
return $info;