Uninitialized value for attachments

This commit is contained in:
Evan Prodromou 2011-04-07 10:25:53 -04:00
parent ca0f59d46a
commit 8a0f67b773
1 changed files with 1 additions and 0 deletions

View File

@ -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()) {