Fixing bug while searching into documentation element
authorlaurent
Fri, 16 Dec 2011 22:48:24 +0100
changeset 608 b67536e93c11
parent 607 9c133d675b69
child 609 768820a948e2
Fixing bug while searching into documentation element
plcopen/plcopen.py
--- a/plcopen/plcopen.py	Fri Dec 16 22:47:41 2011 +0100
+++ b/plcopen/plcopen.py	Fri Dec 16 22:48:24 2011 +0100
@@ -1006,7 +1006,7 @@
             search_result.extend(_Search([("initial", initial.getvalue())], criteria, parent_infos))
         doc = self.getdocumentation()
         if doc is not None:
-            search_result.extend(doc.Search(criterias, parent_infos + ["documentation"]))
+            search_result.extend(doc.Search(criteria, parent_infos + ["documentation"]))
         return search_result
     setattr(cls, "Search", Search)