Submitted pull request for Superfecta bug

I stumbled across a bug in CID Superfecta where it displays the incorrect scheme for an inbound route where multiple routes are defined with different cidnumbers and different schemes.

I submitted a ticket before I found the thread below and the ticket referenced.

My duplicate ticket is here:

I submitted a pull request with what I think is the fix here [edited to handle case when $info is one element]:

The cause is that the query in the hook code for inbound routes only looks at the extension field in the superfecta_to_incoming table and therefore selects the first match it finds rather than the correct record.

1 Like

LOL – and of course as soon as I post it I find a bug in the “fix”. Arrrggghhhhh…

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.