projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78a20a2
)
Can't call IMP_Contents construct directly
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Feb 2009 18:17:58 +0000
(11:17 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Feb 2009 18:27:23 +0000
(11:27 -0700)
imp/view.php
patch
|
blob
|
history
diff --git
a/imp/view.php
b/imp/view.php
index
af5c5fc
..
31e294e
100644
(file)
--- a/
imp/view.php
+++ b/
imp/view.php
@@
-60,7
+60,7
@@
if ($actionID == 'compose_attach_preview') {
/* Create a dummy IMP_Contents() object so we can use the view code below.
* Then use the 'view_attach' handler to output. */
- $contents =
new IMP_Contents
($mime);
+ $contents =
&IMP_Contents::singleton
($mime);
$actionID = 'view_attach';
$id = $mime->getMimeId();
} else {