Fix bug #1367
(<http://bugs.horde.org/ticket/?id=1367&Horde=b45921c0a2f9cf7dd2ac4694dedf8191>). Tested by: Troy Dixler Obtained from: Horde CVS.
This commit is contained in:
parent
42f7eee9d3
commit
e3c0938286
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128846
6 changed files with 39 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= imp
|
||||
PORTVERSION= 4.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \
|
||||
ftp://ftp.planetmirror.com/pub/horde/imp/ \
|
||||
|
@ -201,7 +202,7 @@ pre-configure:
|
|||
.for fc in ${PATCH2RM}
|
||||
@${RM} ${WRKSRC}/config/${fc}
|
||||
.endfor
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP ${WRKSRC}/lib/IMP.php.orig
|
||||
|
||||
pre-install:
|
||||
.if !defined(BATCH) && !defined(WITHOUT_SSL)
|
||||
|
|
11
mail/horde-imp/files/patch-bug1367
Normal file
11
mail/horde-imp/files/patch-bug1367
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/IMP.php.orig Wed Jan 26 10:23:02 2005
|
||||
+++ lib/IMP.php Mon Feb 14 21:14:11 2005
|
||||
@@ -582,7 +582,7 @@
|
||||
|
||||
/* Add the list of mailboxes to the lists. */
|
||||
$showmbox = false;
|
||||
- if (is_null($filter[0])) {
|
||||
+ if (count($filter) && is_null($filter[0])) {
|
||||
$showmbox = true;
|
||||
array_shift($filter);
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= imp
|
||||
PORTVERSION= 4.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \
|
||||
ftp://ftp.planetmirror.com/pub/horde/imp/ \
|
||||
|
@ -201,7 +202,7 @@ pre-configure:
|
|||
.for fc in ${PATCH2RM}
|
||||
@${RM} ${WRKSRC}/config/${fc}
|
||||
.endfor
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP ${WRKSRC}/lib/IMP.php.orig
|
||||
|
||||
pre-install:
|
||||
.if !defined(BATCH) && !defined(WITHOUT_SSL)
|
||||
|
|
11
mail/horde4-imp/files/patch-bug1367
Normal file
11
mail/horde4-imp/files/patch-bug1367
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/IMP.php.orig Wed Jan 26 10:23:02 2005
|
||||
+++ lib/IMP.php Mon Feb 14 21:14:11 2005
|
||||
@@ -582,7 +582,7 @@
|
||||
|
||||
/* Add the list of mailboxes to the lists. */
|
||||
$showmbox = false;
|
||||
- if (is_null($filter[0])) {
|
||||
+ if (count($filter) && is_null($filter[0])) {
|
||||
$showmbox = true;
|
||||
array_shift($filter);
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= imp
|
||||
PORTVERSION= 4.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \
|
||||
ftp://ftp.planetmirror.com/pub/horde/imp/ \
|
||||
|
@ -201,7 +202,7 @@ pre-configure:
|
|||
.for fc in ${PATCH2RM}
|
||||
@${RM} ${WRKSRC}/config/${fc}
|
||||
.endfor
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP
|
||||
@${RM} ${WRKSRC}/lib/MIME/Headers.php.beforeIMP ${WRKSRC}/lib/IMP.php.orig
|
||||
|
||||
pre-install:
|
||||
.if !defined(BATCH) && !defined(WITHOUT_SSL)
|
||||
|
|
11
mail/imp/files/patch-bug1367
Normal file
11
mail/imp/files/patch-bug1367
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/IMP.php.orig Wed Jan 26 10:23:02 2005
|
||||
+++ lib/IMP.php Mon Feb 14 21:14:11 2005
|
||||
@@ -582,7 +582,7 @@
|
||||
|
||||
/* Add the list of mailboxes to the lists. */
|
||||
$showmbox = false;
|
||||
- if (is_null($filter[0])) {
|
||||
+ if (count($filter) && is_null($filter[0])) {
|
||||
$showmbox = true;
|
||||
array_shift($filter);
|
||||
}
|
Loading…
Reference in a new issue