Index: trunk/kernel/include/item.php =================================================================== diff -u -r470 -r534 --- trunk/kernel/include/item.php (.../item.php) (revision 470) +++ trunk/kernel/include/item.php (.../item.php) (revision 534) @@ -457,7 +457,7 @@ $count = 0; $id = $this->Get("ResourceId"); $sql = "SELECT count(*) as DupCount FROM ItemRating WHERE IPAddress='$ip' and ItemId=$id"; - $adodbConnection = GetADODBConnection(); + $adodbConnection = &GetADODBConnection(); $rs = $adodbConnection->Execute($sql); if($rs) {