| Summary | variable timestamp not defined in function exists() of lib/Horde/Cache/sql.php |
| Queue | Horde Framework Packages |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | |
| Requester | keith (at) ajmani (dot) org |
| Created | 06/05/2008 (6362 days ago) |
| Due | |
| Updated | 06/05/2008 (6362 days ago) |
| Assigned | |
| Resolved | 06/05/2008 (6362 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.1096&r2=1.1097&ty=u
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/Cache/Cache/sql.php?r1=1.19&r2=1.20&ty=u
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ variable timestamp not defined in function exists() of lib/Horde/Cache/sql.php
Type ⇒ Bug
State ⇒ Unconfirmed
The function exists(), line 243 of lib/Horde/Cache/sql.php references
a variable 'timestamp' on lines 275 & 277, but the variable is never
created in the function.
Solution: add line 257 as:
$timestamp = time();
Errors (PHP Notice) will appear in the web UI when logging into Mail
(or any Horde module that uses sql caching), due to this error. Also,
logging records will lack timestamps, a key attribute.