6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12558] History: Add getLatestEntry($guid)
*
Your Email Address
*
Spam protection
Enter the letters below:
__ ._..__..___.___ / ` | | |[__ [__ \__._|_|__\[___[___
Comment
> I've updated the code with the optimized SQL statement using ORDER BY. > > Also I've fixed a bug that only occurred during productive testing: > If db->selectOne() didn't find a row, it returned an array with > all the requested keys set and empty values. Could be related to the > MAX() statement > and/or the explicit specification of the field names in the previous > SQL statement. > > Therefore I've adapted the code to check if $row['history_id'] is really set. > No unit test yet, productive testing has to do for now :o) >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers