[libxml2] Fix the PHP search code



commit 982ff6377a6accd6cfde1f72c9351baccadd4646
Author: Daniel Veillard <veillard redhat com>
Date:   Wed Aug 19 17:51:25 2009 +0200

    Fix the PHP search code

 doc/search.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/doc/search.php b/doc/search.php
index 7d94cb7..ce1a25f 100644
--- a/doc/search.php
+++ b/doc/search.php
@@ -305,8 +305,8 @@ A:link, A:visited, A:active { text-decoration: underline }
 			    $id = mysql_result($result, $i, 2);
 			    $module = mysql_result($result, $i, 3);
 			    $desc = mysql_result($result, $i, 4);
-			    if (strncmp($module, "libxml-", 7) == 0) {
-			    $url = "html/$module";
+			    if (strncmp($module, "libxml-", 7) == 0)
+			        $url = "html/$module";
 			    if ($id != "") {
 				$url = $url + "#$id";
 			    }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]