This commit is contained in:
kremsy
2014-05-10 10:12:48 +02:00
parent 74320397ea
commit bc578d9a4e
7 changed files with 24 additions and 12 deletions

View File

@ -1235,7 +1235,7 @@ class Connection
* @return int BillId
* @throws InvalidArgumentException
*/
function sendBill($payer, $amount, $message, $payee, $multicall=false)
function sendBill($payer, $amount, $message, $payee = '', $multicall=false)
{
$payerLogin = $this->getLogin($payer);
if($payerLogin === false)

View File

@ -287,6 +287,8 @@ class GbxRemote
if($written === 0 || $written === false)
return false;
fflush($this->socket);
$data = substr($data, $written);
}