[Tickets #3759] RESOLVED: Show/Hide/Purge links missing

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Apr 18 07:44:37 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3759
-----------------------------------------------------------------------
 Ticket             | 3759
 Updated By         | pvantony at singnet.com.sg
 Summary            | Show/Hide/Purge links missing
 Queue              | IMP
 Version            | 4.1
 State              | Resolved
 Priority           | 1. Low
 Type               | Bug
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


pvantony at singnet.com.sg (2006-04-18 07:44) wrote:

I got this patch from Tuomas Silen and it works great now.

Tuomas Silen changed the function isVINBOXFolder() in imp/lib/Search.php
from

     function isVINBOXFolder($id = null)
     {
         $id = (is_null($id)) ? $this->_id : $this->_strip($id);
         return ($id == $GLOBALS['prefs']->getValue('vinbox_id'));
     }

to

     function isVINBOXFolder($id = null)
     {
         $id = (is_null($id)) ? $this->_id : $this->_strip($id);
         $vinbox_id = $GLOBALS['prefs']->getValue('vinbox_id');
         if (is_null($id) && empty($vinbox_id))
                return false;
         return ($id == $vinbox_id);
     }






More information about the bugs mailing list