Uninitialized value for attachments
This commit is contained in:
parent
ca0f59d46a
commit
8a0f67b773
|
@ -727,6 +727,7 @@ class Notice extends Memcached_DataObject
|
||||||
if ($idstr !== false) {
|
if ($idstr !== false) {
|
||||||
$ids = explode(',', $idstr);
|
$ids = explode(',', $idstr);
|
||||||
} else {
|
} else {
|
||||||
|
$ids = array();
|
||||||
$f2p = new File_to_post;
|
$f2p = new File_to_post;
|
||||||
$f2p->post_id = $this->id;
|
$f2p->post_id = $this->id;
|
||||||
if ($f2p->find()) {
|
if ($f2p->find()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user