Changeset 13341 for trunk


Ignore:
Timestamp:
04/16/12 12:43:35 (13 years ago)
Author:
Daniela Dorner
Message:
fixed bug for tooltip mode
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/db/run_comment.php

    r13315 r13341  
    162162
    163163    if (strcmp($_GET["fTable"], "RunComments")==0 &&
    164         (!(preg_match("/[0-9][0-9][0-9]/",$_GET["fRunID"])
     164        (!(preg_match("/[0-9][0-9]?[0-9]?/",$_GET["fRunID"])
    165165           || (preg_match("/all/",$_GET["fRunID"]) && strcmp($_GET["fMode"], "view")==0))))
    166166    {
     
    170170
    171171    if (strcmp($_GET["fTable"], "SequenceComments")==0 &&
    172         (!(preg_match("/[0-9][0-9][0-9]/",$_GET["fSequenceID"])
     172        (!(preg_match("/[0-9][0-9]?[0-9]?/",$_GET["fSequenceID"])
    173173          || (preg_match("/all/",$_GET["fSequenceID"]) && strcmp($_GET["fMode"], "view")==0))))
    174174    {
     
    250250        {
    251251            if (strcmp($_GET["fTable"], "RunComments")==0)
    252                 printf("%s_%s: %s\n", $_GET["fNight"], $_GET["fRunID"], $row1[1]);
     252                printf("%s_%03d: %s\n", $_GET["fNight"], $_GET["fRunID"], $row1[1]);
    253253            if (strcmp($_GET["fTable"], "SequenceComments")==0)
    254                 printf("%s_%s: %s\n", $_GET["fNight"], $_GET["fSequenceID"], $row1[1]);
     254                printf("%s_%03d: %s\n", $_GET["fNight"], $_GET["fSequenceID"], $row1[1]);
    255255        }
    256256    }
Note: See TracChangeset for help on using the changeset viewer.