jaytea, it should've been $scid() :
Quote:
if (!$scid($lactivecid)) {