Port of patch #16 to 2.0
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user