From 8a0f67b773c0c3fe7c3642730fdb184f288ba45d Mon Sep 17 00:00:00 2001
From: Evan Prodromou <evan@status.net>
Date: Thu, 7 Apr 2011 10:25:53 -0400
Subject: [PATCH] Uninitialized value for attachments

---
 classes/Notice.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/classes/Notice.php b/classes/Notice.php
index 6ca4c711fd..363e52dbdd 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -727,6 +727,7 @@ class Notice extends Memcached_DataObject
         if ($idstr !== false) {
             $ids = explode(',', $idstr);
         } else {
+            $ids = array();
             $f2p = new File_to_post;
             $f2p->post_id = $this->id;
             if ($f2p->find()) {
-- 
2.39.5