Help Center Live Community

Development => Bug Discussions => Topic started by: rsd on January 16, 2010, 08:12:39 PM



Title: response.php bug?
Post by: rsd on January 16, 2010, 08:12:39 PM
I am reading the source to try to understand it and make some small improvements.

reading live/response. php (which gets a ajax request from the browser), there is an inconsistence (I reformated the file to understand better, so no line numbers):
Code:
elseif (isset($aardvark->vars['cobrowse']))
$aardvark->add
( 'cobrowse_'.$GLOBALS['live']->chatid()
, $GLOBALS['cobrowse']->response($aardvark->vars['chatid'])
);

the response() method is defined as (class/cobrowse. php):
Code:
class CoBrowse {
    ...
    function response()
    {

which makes the chatid argument useless.