PHP Classes

Bug in jsonRPCClient class

Recommend this page to a friend!

      Bitcoin Shop  >  All threads  >  Bug in jsonRPCClient class  >  (Un) Subscribe thread alerts  
Subject:Bug in jsonRPCClient class
Summary:There is a bug in constructor of jsonRPCClient class
Messages:3
Author:admin4
Date:2011-01-20 07:32:04
Update:2011-02-08 12:08:09
 

  1. Bug in jsonRPCClient class   Reply   Report abuse  
Picture of admin4 admin4 - 2011-01-20 07:32:05
Constructor of class jsonRPCClient sets the $this->proxy property. Initial value of the property is calculated using $proxy parameter. This parameter ($proxy) is not listed in constructor parameters list so there is no way to pass it into constructor method. $this->proxy property is not defined in class so its visibility is going to be public.

  2. Re: Bug in jsonRPCClient class   Reply   Report abuse  
Picture of Dmitry A. Kirilin Dmitry A. Kirilin - 2011-01-21 01:17:19 - In reply to message 1 from admin4
Thanks, I will fix ASAP.

  3. Re: Bug in jsonRPCClient class   Reply   Report abuse  
Picture of Dmitry A. Kirilin Dmitry A. Kirilin - 2011-02-08 12:08:09 - In reply to message 1 from admin4
Added proxy to constructor parameters.