Puckdropper
Yep. I might have added or removed an attribute or just
Thu Aug 31, 2023 3:44pm

started counting at 1. If I had just done $results["name"] the bug would have been prevented and the code would have been clearer.

  • Was it the same bug reported? - Erik_, Wed Aug 30 2023 8:27pm
    I sort of remember some post a long time ago saying I was "bug reporter of the year" or something for finding one. By named vs number are you referring to the result set returned from the DB? Ex: my $comment_id = $results->[2]; vs. my $comment_id = $results->{'comment_id'}; (I know it's actually... more
    • Yep. I might have added or removed an attribute or just- Puckdropper, Thu Aug 31 2023 3:44pm
      • I've had that happen before too - Erik_, Sat Sep 02 2023 12:58pm
        I wrote an internal support ticket submitting website for work in C# about 10 or so years ago and did the same thing. The DB results were referenced by index instead of column name so if the select statement changed, things had to be reworked that used the result set directly. Not too much of an issue... more
"Forces act when not restrained" - Puckdropper