visuddhinanda пре 4 година
родитељ
комит
2b8e0bc7f4
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      app/search/paliword_search.php

+ 2 - 1
app/search/paliword_search.php

@@ -226,11 +226,12 @@ switch ($op) {
                         for ($iPali = 0; $iPali < $countPaliText; $iPali++) {
 							foreach ($paliword as $qWord) {
 								# code...
-								$light_text = $htmltext;
+								
 								if (substr($qWord, -1) == "n") {
 									$qWord = substr($qWord, 0, -1);
 								}
 								$htmltext = $FetchPaliText[0]["html"];
+								$light_text = $htmltext;
 								$light_text = str_replace($qWord, "<hl>{$qWord}</hl>", $light_text);								
 							}