From 0b59f270a432f8c7b6128981f0a39b4a2e2fbd34 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 13 May 2008 04:22:33 +0000 Subject: Some sweeping syntax changes for consistency: (! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace --- user_guide/libraries/xmlrpc.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/libraries/xmlrpc.html') diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index b7e98f653..24bbf403b 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -120,7 +120,7 @@ $this->xmlrpc->method('weblogUpdates.ping');
$request = array('My Photoblog', 'http://www.my-site.com/photoblog/');
$this->xmlrpc->request($request);

-if (! $this->xmlrpc->send_request())
+if ( ! $this->xmlrpc->send_request())
{
    echo $this->xmlrpc->display_error();
} @@ -336,7 +336,7 @@ class Xmlrpc_client extends Controller { $request = array('How is it going?'); $this->xmlrpc->request($request); - if (! $this->xmlrpc->send_request()) + if ( ! $this->xmlrpc->send_request()) { echo $this->xmlrpc->display_error(); } -- cgit v1.2.3-24-g4f1b