andeedee / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Unitialized $google_results in protected function accountObjectMapper #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As it is now:
$account_root_parameters['startDate'] = strval($google_results->startDate);
    $account_root_parameters['endDate'] = strval($google_results->endDate);

Maybe it should be like this:
$account_root_parameters['startDate'] = isset($google_results->startDate) ? 
strval($google_results->startDate) : '';
    $account_root_parameters['endDate'] = isset($google_results->endDate) ? strval($google_results->endDate) : '';

Original issue reported on code.google.com by ratajsk...@gmail.com on 21 Jul 2012 at 9:04