Browse Source

fixed UpdateAttrs example

git-svn-id: svn://svn.sphinxsearch.com/sphinx/trunk@707 406a0c4d-033a-0410-8de8-e80135713968
shodan 18 years ago
parent
commit
4ebaee37ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/sphinxapi.php

+ 1 - 1
api/sphinxapi.php

@@ -664,7 +664,7 @@ class SphinxClient
 	/// returns -1 on failure
 	///
 	/// usage example:
-	///		$cl->UpdateAttributes ( array("group"), array(123=>array(456)) );
+	///		$cl->UpdateAttributes ( "test1", array("group_id"), array(1=>array(456)) );
 	function UpdateAttributes ( $index, $attrs, $values )
 	{
 		// verify everything