From 2503f830bd8cf85d57bc45e1c73f6dd0d17caa44 Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Tue, 19 Jun 2007 02:34:45 +0000 Subject: [PATCH] drug lookup fix from Sam Rajan --- library/classes/RXList.class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/classes/RXList.class.php b/library/classes/RXList.class.php index bb415ea56..f7db654da 100644 --- a/library/classes/RXList.class.php +++ b/library/classes/RXList.class.php @@ -3,6 +3,9 @@ // $Author$ // // $Log$ + // Revision 1.3 2007/06/19 02:34:45 sunsetsystems + // drug lookup fix from Sam Rajan + // // Revision 1.2 2005/12/27 00:45:19 sunsetsystems // fix broken url // @@ -127,8 +130,9 @@ class RxList { ($pos == ($record + 3))) and ($ending != "")) { //print "tokens[$pos] = ".htmlentities($tokens[$pos])."
\n"; - if ((!(strpos(strtoupper($tokens[$pos]), "") === false)) or - (!(strpos(strtoupper($tokens[$pos]), "") === false))) { + if ((!(strpos(strtoupper($tokens[$pos]), "" ) === false)) or + (!(strpos(strtoupper($tokens[$pos]), "") === false)) or + (!(strpos(strtoupper($tokens[$pos]), "" ) === false))) { // Find where anchor is $my_pos = strpos(strtoupper($tokens[$pos]), "<"); $hash[$type] = substr($tokens[$pos], 0, $my_pos); -- 2.11.4.GIT