<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Contents of Virtual Trash Folder always empty</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/3665</link> 
  <atom:link rel="self" type="application/rss+xml" title="Contents of Virtual Trash Folder always empty" href="https://bugs.horde.org/ticket/3665/rss" /> 
  <description>Contents of Virtual Trash Folder always empty</description> 
 
   
   
  <item> 
   <title>Displaying the Virtual Trash Folder I get:

Notice: Undefine</title> 
   <description>Displaying the Virtual Trash Folder I get:

Notice: Undefined index: label in .../horde/imp/lib/Mailbox.php on line 171



Because of this, the messages get hidden, and the folder appears to be empty.

The Virtual Trash Folder is unusable because of this bug.</description> 
   <pubDate>Tue, 21 Mar 2006 11:14:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3665#t17995</link> 
  </item> 
   
  <item> 
   <title>I am also encountering this problem on a clean install of ho</title> 
   <description>I am also encountering this problem on a clean install of horde 3.1.1/imp 4.1.1



on the imp mailing list there is a solution, however of changing the || to &amp;&amp; on line 171.



[quote of Shaun Furguson]

I encountered this as well while migrating to IMP&#039;s latest stable release

(IMP-H3-4.1 at the time of this posting).  If you modify line 171 of

horde/imp/lib/Mailbox.php to match the following, it appears to fix the bug:



$this-&gt;_delhide =

!$GLOBALS[&#039;imp_search&#039;]-&gt;isSearchMbox($GLOBALS[&#039;imp&#039;][&#039;mailbox&#039;]) &amp;&amp;

($GLOBALS[&#039;imp&#039;][&#039;mailbox&#039;][&#039;label&#039;] != _(&quot;Virtual Trash&quot;));</description> 
   <pubDate>Sat, 15 Apr 2006 04:41:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3665#t18927</link> 
  </item> 
   
  <item> 
   <title>Fixed in IMP 4.1.2.</title> 
   <description>Fixed in IMP 4.1.2.</description> 
   <pubDate>Sat, 15 Apr 2006 17:32:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/3665#t18967</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
