# 删除两个广告中的一个时出现问题

**URL:** <https://meta.discourse.org/t/issue-when-removing-one-of-two-ads/266578>\
**Category:** Bug\
**Tags:** advertising\
**Created:** [2023年五月27日 03:45 UTC](https://meta.discourse.org/t/issue-when-removing-one-of-two-ads/266578 "2023-05-27T03:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年五月27日 03:45 UTC](https://meta.discourse.org/t/issue-when-removing-one-of-two-ads/266578/1 "2023-05-27T03:45:18Z")

</div>

我好像在移除一个房产广告时发现了一个 bug。我定义了 `ad1` 和 `ad2` 作为房产广告来显示带有简单 HTML 的图片，并且它们被选为“话题之间”。但随后我从可用房产广告列表中删除了 `ad1`，这似乎导致它自动从“话题之间”消失了。但它的行为好像仍然期望 `ad1` 存在，因为它开始随机地在定义的 N 篇帖子数后不显示任何广告。然后我通过将 `ad2` 的 HTML 复制到 `ad1` 中重新创建了 `ad1`，它重新出现在了“话题之间”的选择中，一切都恢复正常了。
