summaryrefslogtreecommitdiff
path: root/mail/squirrelmail/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'mail/squirrelmail/patches/patch-aq')
-rw-r--r--mail/squirrelmail/patches/patch-aq13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/squirrelmail/patches/patch-aq b/mail/squirrelmail/patches/patch-aq
new file mode 100644
index 00000000000..710a221e765
--- /dev/null
+++ b/mail/squirrelmail/patches/patch-aq
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1 2010/03/04 16:00:37 taca Exp $
+
+--- src/addressbook.php.orig 2009-08-12 17:29:53.000000000 +0900
++++ src/addressbook.php
+@@ -48,7 +48,7 @@ sqgetGlobalVar('deladdr', $deladdr,
+ sqgetGlobalVar('compose_to', $compose_to, SQ_POST);
+ sqgetGlobalVar('sel', $sel, SQ_POST);
+ // renumber $sel array
+-if (!empty($sel)) $sel = array_merge($sel);
++if (!empty($sel)) $sel = array_merge($sel, array());
+ sqgetGlobalVar('oldnick', $oldnick, SQ_POST);
+ sqgetGlobalVar('backend', $backend, SQ_POST);
+ sqgetGlobalVar('doedit', $doedit, SQ_POST);