| Summary | missing require_once in iCalendar.php |
| Queue | Horde Base |
| Queue Version | 3.3.9 |
| Type | Bug |
| State | Not A Bug |
| Priority | 2. Medium |
| Owners | |
| Requester | fabio.bas (at) officineinformatiche (dot) net |
| Created | 09/29/2010 (5557 days ago) |
| Due | |
| Updated | 09/29/2010 (5557 days ago) |
| Assigned | 09/29/2010 (5557 days ago) |
| Resolved | 09/29/2010 (5557 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
the library outside of a Horde installation, you need to load it
yourself.
function and missing in the next one, so i thought either one of the
two was missing or superfluous.
this ticket
State ⇒ Feedback
the library outside of a Horde installation, you need to load it
yourself.
Or are you seeing this error while using a Horde application? If yes, where?
Priority ⇒ 2. Medium
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ missing require_once in iCalendar.php
Type ⇒ Bug
State ⇒ Unconfirmed
getAttributeValues($name)":
---
if (!count($result)) {
return PEAR::raiseError('Attribute "' . $name . '" Not Found');
}
---
This misses a "require_once 'PEAR.php';" and causes a "PHP Fatal
error: Class 'PEAR' not found".
The previous function in the same file (getAttribute) already contains
the "require_once" and works fine:
---
if (!count($result)) {
require_once 'PEAR.php';
return PEAR::raiseError('Attribute "' . $name . '" Not Found');
---