6.0.0-beta1
7/8/25

[#2104] Client dropdown gets renumbered when using numeric client ids
Summary Client dropdown gets renumbered when using numeric client ids
Queue Hermes
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester thomas (at) gelf (dot) net
Created 06/08/2005 (7335 days ago)
Due
Updated 06/08/2005 (7335 days ago)
Assigned
Resolved 06/08/2005 (7335 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/08/2005 07:32:51 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks.
06/08/2005 07:03:30 PM thomas (at) gelf (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Client dropdown gets renumbered when using numeric client ids
Queue ⇒ Hermes
New Attachment: hermes_numeric_client_ids.diff Download
Reply to this comment
* hermes/lib/TimeForm.php creates a dropdown (enum) with all clients 
from Hermes::listClients()

* if id is an md5 sum as for example with turba's localsql source 
everything is fine

* if id is a plain integer array keys will be renumbered because of 
array_merge's default behaviour - and that's why form and table are 
then going to show different customers for the same entry


Saved Queries