fixed bug in display of treatments
Posted by sarneil on 26 Jan 2009 in Activity log
Bug report from MH that in some records the wrong treatment was being displayed in the search results, with some specific examples.
There are two treatment fields in each record in the database. My code was returning only the first if the second field was empty and only the second if the second field was not empty. I fixed that so that the first field was displayed if not empty and the second field was displayed if not empty.