Fix content history issue

This commit is contained in:
Jörg Lehrke 2010-09-12 21:16:39 +00:00
parent bb9190a669
commit b02f830128

View File

@ -88,7 +88,7 @@ class contenthistory
foreach ($readableItems as $id) foreach ($readableItems as $id)
{ {
$where['sync_contentid'] = $id; $where['sync_contentid'] = $id;
if (!$this->db->select(self::TABLE,'sync_contentid',$where,__LINE__,__FILE__)) if ($this->db->select(self::TABLE,'sync_contentid',$where,__LINE__,__FILE__)->fetchColumn())
{ {
$idList[] = $id; $idList[] = $id;
} }