Permalink
Browse files

fix issue about X-Sender GNTP custom header when use default icons

git-svn-id: http://svn.php.net/repository/pear/packages/Net_Growl/trunk@324862 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
Laurent Laville
Laurent Laville committed Apr 5, 2012
1 parent 03a1917 commit 7ce63fc7e0298a86fc04736d6b8ae6a80149bcc1
Showing with 7 additions and 5 deletions.
  1. +7 −5 Net/Growl/Gntp.php
View
@@ -382,11 +382,13 @@ protected function genMessageStructure($method, $data, $binaries = false)
{
static $keys;
- $data = 'X-Sender: '
- . 'PEAR/Net_Growl ' . Net_Growl::VERSION
- . ' PHP ' . phpversion()
- . "\r\n"
- . $data;
+ if ($binaries === false) {
+ $data = 'X-Sender: '
+ . 'PEAR/Net_Growl ' . Net_Growl::VERSION
+ . ' PHP ' . phpversion()
+ . "\r\n"
+ . $data;
+ }
$password = $this->getApplication()->getGrowlPassword();
$req = '';

0 comments on commit 7ce63fc

Please sign in to comment.