[Tickets #5605] Turba no_shares fix

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Aug 6 06:59:50 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5605
-----------------------------------------------------------------------
 Ticket             | 5605
 Created By         | gb at atomas.com
 Summary            | Turba no_shares fix
 Queue              | Turba
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | turba_no_shares_fix.patch
-----------------------------------------------------------------------


gb at atomas.com (2007-08-05 23:59) wrote:

If no 'use_shares' is defined in sources.php, Turba throws :
PHP Fatal error:  Call to a member function listShares() on a non-object
in /home/gbouthenot/web/horde-head/turba/lib/Turba.php on line 503

To replicate the error: delete horde_prefs for a given user, remove the
use_shares line in turba/config/sources.php and try to log

The fix included checks the existence of turba_shares before calling
turba_shares->listShares(...)




More information about the bugs mailing list