projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2e4bb
)
atc_indices can be (and often will be) 0
author
Michael M Slusarz
<slusarz@curecanti.org>
Sun, 7 Mar 2010 04:42:01 +0000
(21:42 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 8 Mar 2010 02:46:28 +0000
(19:46 -0700)
imp/lib/Ajax/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Ajax/Application.php
b/imp/lib/Ajax/Application.php
index
b4f96c8
..
7eae9e3
100644
(file)
--- a/
imp/lib/Ajax/Application.php
+++ b/
imp/lib/Ajax/Application.php
@@
-1088,7
+1088,7
@@
class IMP_Ajax_Application extends Horde_Ajax_Application_Base
*/
public function deleteAttach()
{
- if (
$this->_vars->atc_indices
) {
+ if (
isset($this->_vars->atc_indices)
) {
$imp_compose = IMP_Compose::singleton($this->_vars->imp_compose);
foreach ($imp_compose->deleteAttachment($this->_vars->atc_indices) as $val) {
$GLOBALS['notification']->push(sprintf(_("Deleted attachment \"%s\"."), Horde_Mime::decode($val)), 'horde.success');