]>
Commit | Line | Data |
---|---|---|
dad7cd1a ER |
1 | --- eventum-1.7.1/misc/cli/include/class.command_line.php 2006-04-10 21:09:51.757856592 +0300 |
2 | +++ /home/glen/class.command_line.php 2006-04-10 21:55:23.878807794 +0300 | |
3 | @@ -1533,6 +1533,9 @@ | |
4 | { | |
5 | $msg = new XML_RPC_Message("isValidLogin", array(new XML_RPC_Value($email), new XML_RPC_Value($password))); | |
6 | $result = $rpc_conn->send($msg); | |
7 | + if (!is_object($result)) { | |
8 | + Command_Line::quit("result is not an object. This is most likely due connection problems or openssl/curl extension not loaded."); | |
9 | + } | |
10 | if ($result->faultCode()) { | |
11 | Command_Line::quit($result->faultString()); | |
12 | } |