Menu

#251 Computer type allways show the first element on DB

closed
5
2006-03-11
2006-02-09
Anonymous
No

After adding a computer, on the computer-info screen
the "Computer type" item shows allways the first
element in the database in alfabetical order. But at
the database the stored computer type is correct.

Discussion

  • Sean Redmond

    Sean Redmond - 2006-02-22

    Logged In: YES
    user_id=43372

    I've submitted a patch for this in the Patches section

     
  • Nobody/Anonymous

    Logged In: NO

    To fix this edit include/computers.functions.php
    In function showComputer locate:
    $name = $result["name"];
    $date_mod = $result["date_mod"];

    and add the line to retrieve the type from th db:
    $name = $result["name"];
    $type = $result["type"];
    $date_mod = $result["date_mod"];

    Kind regards,
    Dirk.

     
  • Martin Stevens

    Martin Stevens - 2006-03-11

    Logged In: YES
    user_id=255024

    This bug has now been fixed in the irm-pqm archive.

    Thanks for reporting it.

     
  • Martin Stevens

    Martin Stevens - 2006-03-11
    • labels: 105749 --> fixed-in-irm-pqm
    • assigned_to: nobody --> budgester
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB