[Tickets #8808] Call to a member function hasCapability() on a non-object

bugs at horde.org bugs at horde.org
Tue Dec 29 13:51:51 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8808
------------------------------------------------------------------------------
  Ticket             | 8808
  Created By         | ruben at auger.org.ar
  Summary            | Call to a member function hasCapability() on a
                     | non-object
  Queue              | Vacation
  Version            | 3.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | Horde_Vacation_patch_20091228.diff
------------------------------------------------------------------------------


ruben at auger.org.ar (2009-12-29 08:51) wrote:

When

   $conf['vacation']['from'] = true

Trying to set the vacation notice gives this error:

Call to a member function hasCapability() on a non-object in  
/usr/share/horde3/vacation/lib/Driver.php on line 255

On that line there is a call to:

   $driver->hasCapability('changeFrom')

But $driver is a variable that contains the name aof the driver  
selected and not driver object

Patch to fix this attached.

Hope it helps.

======
Ruben Squartini
Administrador Tecnico y de Sistemas
Proyecto Observatorio Pierre Auger
Av. San Martin (N) 304
Malargue - Mendoza
Tel.: +54 2627 471556/562/579
http://www.linkedin.com/in/rubensquartini
===============================






More information about the bugs mailing list