Summary | Call to a member function hasCapability() on a non-object |
Queue | Vacation |
Queue Version | 3.2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | ruben (at) auger (dot) org (dot) ar |
Created | 12/29/2009 (5667 days ago) |
Due | |
Updated | 12/30/2009 (5666 days ago) |
Assigned | |
Resolved | 12/30/2009 (5666 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 3.2.1 |
Patch | Yes |
MFB:
[jan] Fix driver capability check if users are allowed to change From: headers
(
Bug #8808).http://cvs.horde.org/diff.php/vacation/docs/CHANGES?rt=horde&r1=1.82&r2=1.83&ty=u
http://cvs.horde.org/diff.php/vacation/lib/Driver.php?rt=horde&r1=1.54&r2=1.55&ty=u
Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 3.2.1
[jan] Fix driver capability check if users are allowed to change From: headers
(
Bug #8808).http://cvs.horde.org/diff.php/vacation/docs/CHANGES?rt=horde&r1=1.57.2.25&r2=1.57.2.26&ty=u
http://cvs.horde.org/diff.php/vacation/lib/Driver.php?rt=horde&r1=1.35.2.8&r2=1.35.2.9&ty=u
When user try set vacation message
------------
PHP Fatal error: Call to a member function hasCapability() on a
non-object in /var/www/sslsites/vacation/lib/Driver.php on line 255
And, when user try switch off exsisting vacation message,
------------
PHP Fatal error: Call to a member function hasCapability() on a
non-object in /var/www/sslsites/vacation/lib/Driver.php on line 320
Monk Viktor
Valamo monastery
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Call to a member function hasCapability() on a non-object
Queue ⇒ Vacation
Milestone ⇒
Patch ⇒ Yes
New Attachment: Horde_Vacation_patch_20091228.diff
State ⇒ Unconfirmed
$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
===============================