summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-11 20:16:36 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-11 20:16:36 +0100
commit3a99db9d49915521e8b7cbcdf84283f31bffd27b (patch)
treece799706e51c590f43894981d249c02602b167d3 /user_guide_src/source/libraries
parentd56ecf59c10e801814ace09f72285ee4dd1c63cb (diff)
parentd8bef8a878238c6974f01758469af1c13ac8b8d7 (diff)
Merge pull request #2872 from darwinel/develop
Writing style fix based on style guide
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r--user_guide_src/source/libraries/xmlrpc.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/user_guide_src/source/libraries/xmlrpc.rst b/user_guide_src/source/libraries/xmlrpc.rst
index 2cf548750..115b4e680 100644
--- a/user_guide_src/source/libraries/xmlrpc.rst
+++ b/user_guide_src/source/libraries/xmlrpc.rst
@@ -223,17 +223,17 @@ email address, etc.). Here is how the processing function might look::
$parameters = $request->output_parameters();
- if ($parameters['1'] != $username AND $parameters['2'] != $password)
+ if ($parameters['1'] != $username && $parameters['2'] != $password)
{
return $this->xmlrpc->send_error_message('100', 'Invalid Access');
}
- $response = array(array('nickname' => array('Smitty','string'),
- 'userid' => array('99','string'),
- 'url' => array('http://yoursite.com','string'),
- 'email' => array('jsmith@yoursite.com','string'),
- 'lastname' => array('Smith','string'),
- 'firstname' => array('John','string')
+ $response = array(array('nickname' => array('Smitty', 'string'),
+ 'userid' => array('99', 'string'),
+ 'url' => array('http://yoursite.com', 'string'),
+ 'email' => array('jsmith@yoursite.com', 'string'),
+ 'lastname' => array('Smith', 'string'),
+ 'firstname' => array('John', 'string')
),
'struct');