fix bug in display of multiple treatments
Posted by sarneil on 04 Feb 2009 in Activity log
Further testing of recent modifications and report by ML indicated that for records with two treatments, only one seemed to be displayed. Turned out to be an instance of the classic '"=" instead of "==" operator in an IF clause' bug in my php in searchresults.php. Fixed that.
Also abstracted out the delimiter used to separate multiple values in one field (treatments, examiners, conditions) and put that in a variable so that it's easy to change that from the current vertical pipe to a comma or semi-colon if desired.