PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » Services_Trackback » Bug #7593

Notice in Services_Trackback::send()

Details

Submitted2006-05-09 19:59 UTC
Fromsvenfuchs at artweb-design dot de
Assigneddoconnor
StatusClosed
PackageServices_Trackback
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-05-09 19:59 UTC] svenfuchs at artweb-design dot de

Description:
------------
// Add HTTP headers
// $req->addHeader("User-Agent", $this->_options['useragent']);

throws a notice

Undefined index: useragent
notice: in F:\lib\pear\Services\Trackback.php on line 397

I think this should be:

$req->addHeader("User-Agent", $options['useragent']);