Archived
1
0

Port of patch #16 to 2.0

This commit is contained in:
Garvin Hicking
2013-05-06 09:47:19 +02:00
parent b543fae655
commit 5ec7481030
17 changed files with 35 additions and 37 deletions

View File

@@ -177,7 +177,7 @@ Class Image_Transform_Driver_NetPBM extends Image_Transform
."$size -x $x -y ".$y+$size." -text \"$text\"";
} // End addText
function _postProcess($type, $quality, $save_type)
function _postProcess($type, $quality, $save_type=null)
{
$type = is_null($type) || $type==''? $this->type : $type;
$save_type = is_null($save_type) || $save_type==''? $this->type : $save_type;

View File

@@ -64,7 +64,7 @@ die('disabled in s9y');
$socket = fsockopen($Host, 80, $errno, $errstr);
if (!$socket) {
$result = "($errno) $errstr";
return $Result;
return $result;
}
fputs($socket, $ReqHeader);