0 && $diff != 0) { $showIdList = implode(",", $instanceIds); $sql = << $diff, ':diff2' => $diff, ':showIds' => $showIdList), 'execute'); } } }